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

Support only Ruby 3.2 and onward #572

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

iandelahorne
Copy link
Contributor

We noticed that Dependabot has stopped being able to issue updates due to the gemspec specifying Ruby 2.7+, but we have optional dependencies that require ruby 3.1+. While our .ruby-version file specifies 3.2, Dependabot only reads the gemspec and not the ruby-version file. This is a known bug (dependabot/dependabot-core#10108) that has not been addressed.

Looking at Ruby's deprecation schedule, 2.7 was EOL in 2023 and 3.1 will be EOL in a month. This gives us good reason to support 3.2+ going forward, bringing the gemspec in line with our testing versions.

  • Bump gemspec to use Ruby 3.2+
  • Drop 2.7 and 3.0 from testing, add 3.3 and 3.4

We noticed that Dependabot has stopped being able to issue updates due to the gemspec specifying Ruby 2.7+, but we have
optional dependencies that require ruby 3.1+. While our `.ruby-version` file specifies 3.2, Dependabot only reads the
gemspec and not the ruby-version file. This is a known bug (dependabot/dependabot-core#10108)
that has not been addressed.

Looking at Ruby's [deprecation schedule](https://www.ruby-lang.org/en/downloads/branches/), 2.7 was EOL in 2023 and 3.1
will be EOL in a month. This gives us good reason to support 3.2+ going forward, bringing the gemspec in line with our
testing versions.

 - Bump gemspec to use Ruby 3.2+
 - Drop 2.7 and 3.0 from testing, add 3.3 and 3.4
@iandelahorne
Copy link
Contributor Author

This will necessitate a minor version bump to 0.23 to not surprise folks who have pinned to 0.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant