chore(DODO-5263): upgrade Ruby from 3.2.1 to 3.4.8#18
Open
fbriand-docto wants to merge 2 commits intomainfrom
Open
chore(DODO-5263): upgrade Ruby from 3.2.1 to 3.4.8#18fbriand-docto wants to merge 2 commits intomainfrom
fbriand-docto wants to merge 2 commits intomainfrom
Conversation
Bumps Ruby version to 3.4.8 for EOL compliance (Ruby 3.2 EOL March 2026). Updates Dockerfile base image and gemspec minimum required version accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…bility - pg_query 2.2.1 fails to compile on Ruby 3.4; bumped constraint to >= 4.0, < 7.0 - minitest 5.18.0 requires mutex_m removed from Ruby 3.4 stdlib; updated to 5.27.0 - mocha 2.0.2 uses removed MiniTest constant; updated to 2.8.2 - google-protobuf updated as a pg_query dependency Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Ruby 3.2 reached end-of-life in March 2026. This upgrades pg-index-benchmark to require Ruby >= 3.4.
How
.ruby-versionto3.4.8,required_ruby_versionto>= 3.4Dockerfilebase image fromruby:3.2.1toruby:3.4.8pg_queryconstraint to>= 4.0, < 7.0: 2.2.1 (last 2.x) fails to compile on Ruby 3.4; there is no 3.x releaseminitestto 5.27.0: 5.18.0 requiresmutex_mremoved from Ruby 3.4 stdlibmochato 2.8.2: 2.0.2 uses removedMiniTestconstant, broken by the minitest updategoogle-protobufas a dependency of pg_queryNote: this repo has no CI workflow. The Dockerfile uses the public
ruby:3.4.8Docker Hub image — flagging as a follow-up if a Doctolib-specific base image is required.Evidence of Testing
Tested locally:
bundle exec rake test→ 14 runs, 22 assertions, 0 failures, 0 errors, 0 skips.This pull request was created with AI assistance.