-
Notifications
You must be signed in to change notification settings - Fork 937
Fix JRuby builds / minimum ruby version #1637
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
base: master
Are you sure you want to change the base?
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.
Pull Request Overview
This PR updates the supported Ruby versions and adjusts the GitHub Actions workflow to use newer Ubuntu images for JRuby testing while pruning older Ruby versions.
- Consolidated the Ruby, JRuby, and Truffleruby version listings in README.md.
- Updated the workflow matrix to specify the appropriate OS for JRuby and added support for Ruby 3.3.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
README.md | Consolidated version support information for Ruby, JRuby, and Truffleruby. |
.github/workflows/test.yml | Updated the test workflow to use a variable for the OS and set ubuntu-22.04 for JRuby jobs. |
As Ruby 2.7 is now 2 years EOL, maybe a good moment to prune that version as well, WDYT @radar? |
Yep, trim it. While you're there, also trim 3.0 (EOL'D almost a year ago). Keep 3.1, despite it EOL'ing in 4 days time. |
Ruby 3.0 EOL was 2024-04-23. **NOTE:** The next release after this is merged should be v2.9.0.
JRuby needs an older ubuntu. Ruby >3.4 no longer has benchmark as default gem.
@fz-ryanbigg 3.1 it is 👍🏻 |
@fz-ryanbigg good to go? |
Recent JRuby builds were failing with errors "Error: Unavailable version 9.2.21.0 for jruby on ubuntu-24.04".
This PR ensures JRuby uses ubuntu-22.04.
It also prunes builds for CRuby 2.5 and 2.6.