Add csv to runtime dependency list#9522
Merged
jekyllbot merged 1 commit intojekyll:masterfrom Jan 10, 2024
mmenanno:add-csv-dependency
Merged
Add csv to runtime dependency list#9522jekyllbot merged 1 commit intojekyll:masterfrom mmenanno:add-csv-dependency
jekyllbot merged 1 commit intojekyll:masterfrom
mmenanno:add-csv-dependency
Conversation
mattr-
approved these changes
Jan 10, 2024
Member
mattr-
left a comment
There was a problem hiding this comment.
Thanks for fixing this warning!
@jekyllbot: merge +dev
jekyllbot
added a commit
that referenced
this pull request
Jan 10, 2024
github-actions bot
pushed a commit
that referenced
this pull request
Jan 10, 2024
halorrr: add csv to runtime dependency list (#9522) Merge pull request 9522
Member
|
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 |
monfresh
pushed a commit
to monfresh/jekyll
that referenced
this pull request
Jun 5, 2024
Merge pull request 9522
monfresh
pushed a commit
to monfresh/jekyll
that referenced
this pull request
Jun 5, 2024
Contributor
Author
|
@mattr- Just giving a nudge that it looks like this still hasn't been backported yet |
parkr
pushed a commit
that referenced
this pull request
Jun 13, 2024
Member
mathbruyen
pushed a commit
to mathbruyen/jekyll
that referenced
this pull request
Dec 30, 2024
Merge pull request 9522
yous
added a commit
to yous/yous.be
that referenced
this pull request
Jan 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: