Drop Ruby 3.1 and update dependencies#8760
Conversation
9c09681 to
9323f57
Compare
Ok I have an idea... ⏳ |
|
@deivid-rodriguez @javierjulio do you have any suggestion here? I was thinking to:
I would go for the second option Mentioning David because of the slightly related ruby/setup-ruby#780 |
|
@tagliala is the test comparing the lock file from BUNDLE_GEMFILE to the root Gemfile.lock? I take it that's the issue since the root Gemfile.lock has the bundled-with version update whereas the BUNDLE_GEMFILE lock files do not. You are welcome to work around it if you want to keep the test. I'd prefer to just remove the test and/or drop EOL Rubies. For the former, we have |
|
I'm going to drop 3.1, reasons:
|
9323f57 to
cbcd640
Compare
Changes: - Drop support for Ruby 3.1. - Update Ruby, Bundler, and Node dependencies across the project. - Remove dependencies and code paths specific to Ruby 3.1. Reasons for dropping Ruby 3.1: - Ruby 3.1 reached end-of-life 3 months ago. - Rails 7.0 supports Ruby 3.2 and 3.3, making 3.1 unnecessary. - Multiple instances of `FIXME` related to legacy Ruby support can be dropped. - Active Admin 4 stable release does not look. imminent, so maintaining deprecated Ruby versions is not practical. - There are failures with the new Bundler 2 (>= 2.7.0) when used with Ruby 3.1.
cbcd640 to
ce13d60
Compare
|
codecov is not passing because it may be waiting for 3.1? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8760 +/- ##
=======================================
Coverage 99.11% 99.11%
=======================================
Files 141 141
Lines 4074 4074
=======================================
Hits 4038 4038
Misses 36 36 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@tagliala no it's not that. Sometimes the status checks get stuck and Codecov recommends re-uploading the reports so I reran the Upload Coverage job and that worked. It usually does the trick thankfully. I will approve now. Thanks! |
Changes:
across the project.
Ruby 3.1.
Reasons for dropping Ruby 3.1:
unnecessary.
FIXMErelated to legacyRuby support can be dropped.
imminent, so maintaining deprecated Ruby
versions is not practical.
(>= 2.7.0) when used with Ruby 3.1.