-
<
8000
li>
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Add csv to runtime dependency list #9522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this warning!
@jekyllbot: merge +dev
halorrr: add csv to runtime dependency list (#9522) Merge pull request 9522
Note to self: This should get a backport to both the 4.3 and 3.9 branches /cc @jekyll/core if someone wants to tackle the backports before I can get to it. ❤️ |
Hey, would be nice if this was released somehow, thanks for maintaining jekyll you rock |
Merge pull request 9522
@mattr- Just giving a nudge that it looks like this still hasn't been backported yet |
Merge pull request 9522
This is a 🙋 feature or enhancement.
Summary
This adds csv as a dependency in the gemspec.
Context
As of Ruby 3.3.0 I was seeing this warning print to the console when running
jekyll serve
:/Users/username/.gem/ruby/3.3.0/gems/jekyll-4.3.3/lib/jekyll.rb:28: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of jekyll-4.3.3 to add csv into its gemspec.
Since this was a fairly simple fix, I figured I'd just throw a PR up for it. I wasn't sure what version to require as a dependency so I just used the latest major version of csv.
I didn't think there was any tests needed for this type of change but let me know if I'm wrong on that.
Notably if we wanted, this could be a conditional dependency on the ruby version wrapped with something like: