Skip to content

Use a minimum Ruby 3.3 for Dependabot - #1525

Merged
etiennebarrie merged 3 commits into
mainfrom
use-a-minimum-ruby-3-3-for-dependabot
Aug 11, 2026
Merged

Use a minimum Ruby 3.3 for Dependabot#1525
etiennebarrie merged 3 commits into
mainfrom
use-a-minimum-ruby-3-3-for-dependabot

Conversation

@etiennebarrie

Copy link
Copy Markdown
Member

Otherwise Dependabot can't upgrade rubocop-shopify or selenium-webdriver, both of which require Ruby 3.3.

Also commit changes to Gemfile.lock which happen by just running bundle install, the BUNDLED WITH section declaring Bundler 4.0.11 but the CHECKSUMS section using 4.0.13.

Then that broke because we test using Gemfile and Ruby 3.2, which was breaking because of the changed requirement in Gemfile. So moving to test Rails 8.1 with a separate Gemfile, which goes into the other branch and doesn't add the 3.3 Ruby requirement.

That means that CI will no longer have a single case testing precisely with the dependencies declared in Gemfile.lock, but that is mitigated by the weekly CI helping us catch incompatibilities early. We could also add a Ruby 4.0 / Gemfile / sqlite special case to the matrix, which will ensure at least one job passes in the situation where a gem update breaks something in the engine/tests. Not sure how helpful it is, but let me know if you'd want that.

Otherwise it can't upgrade rubocop-shopify or selenium-webdriver, both
of which require Ruby 3.3.
@etiennebarrie etiennebarrie changed the title Use a minimum ruby 3 3 for dependabot Use a minimum Ruby 3.3 for Dependabot Jul 27, 2026
@etiennebarrie
etiennebarrie requested a review from a team July 30, 2026 13:37
@etiennebarrie
etiennebarrie force-pushed the use-a-minimum-ruby-3-3-for-dependabot branch 2 times, most recently from 639b74d to d76d628 Compare August 11, 2026 12:13
This allows Dependabot to take care of Gemfile/Gemfile.lock while not
preventing us from testing and supporting 3.2.
@etiennebarrie
etiennebarrie force-pushed the use-a-minimum-ruby-3-3-for-dependabot branch from d76d628 to 714eca7 Compare August 11, 2026 12:16
@etiennebarrie

Copy link
Copy Markdown
Member Author

Actually rewrote the last commit to only use the Rails 8.1-specific Gemfile for Ruby 3.2. That lets us still test 3.3, 3.4 and 4.0 with the exact versions from Gemfile.lock.

@etiennebarrie
etiennebarrie merged commit ee13f0d into main Aug 11, 2026
54 of 55 checks passed
@etiennebarrie
etiennebarrie deleted the use-a-minimum-ruby-3-3-for-dependabot branch August 11, 2026 12:25
@etiennebarrie

Copy link
Copy Markdown
Member Author

That didn't fix the issue 😢
image

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.

3 participants