Skip to content
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

Drop Ruby 2.6 support #555

Merged
merged 4 commits into from
Apr 5, 2023
Merged

Drop Ruby 2.6 support #555

merged 4 commits into from
Apr 5, 2023

Conversation

st0012
Copy link
Member

@st0012 st0012 commented Apr 2, 2023

As Ruby 2.7 enters EOL, I think it makes sense to drop the support of 2.6, which lacks proper kwargs support and Ripper#scan and makes maintenance more complicated.

Versioning implication

According to the semver specificaion, updating a dependency without changing any API does NOT need to bump a major version. And given we don't introduce a feature either, I think this change can safely be included in the next patch or minor release.

What should I do if I update my own dependencies without changing the public API?

That would be considered compatible since it does not affect the public API. Software that explicitly depends on the same dependencies as your package should have their own dependency specifications and the author will notice any conflicts.

Please let me merge this PR myself in case I found any additional changes to make or undo.

@st0012 st0012 self-assigned this Apr 2, 2023
@st0012 st0012 added the enhancement New feature or request label Apr 2, 2023
Copy link
Member

@tompng tompng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Member

@ima1zumi ima1zumi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ⭐

@ima1zumi
Copy link
Member

ima1zumi commented Apr 4, 2023

I added the Don’t merge label so that other than st0012 will not merge it.

@st0012
Copy link
Member Author

st0012 commented Apr 4, 2023

@ima1zumi Labeling is a great idea. Thank you 🙌

@st0012 st0012 removed the Don't merge label Apr 5, 2023
@st0012 st0012 merged commit 3f714b6 into master Apr 5, 2023
@st0012 st0012 deleted the drop-ruby-2.6 branch April 5, 2023 21:40
matzbot pushed a commit to ruby/ruby that referenced this pull request Apr 5, 2023
(ruby/irb#555)

* Remove all Ruby 2.6 support

* Drop Ruby 2.6 specific testing conditions

* Only run Ruby 2.7+ on CI

* Bump Ruby requirement to 2.7+

ruby/irb@3f714b616c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

4 participants