feat!: Min Ruby Version 3.3#2125
Open
YousefHadder wants to merge 5 commits intoopen-telemetry:mainfrom
Open
Conversation
Ruby 3.2 reaches EOL on 2026-03-31. Bump minimum required Ruby version to 3.3, the oldest actively supported release. Changes: - Update required_ruby_version from '>= 3.2' to '>= 3.3' in all 64 gemspecs (via bin/update-ruby-version 3.3) - Remove Ruby 3.2 test steps from all CI workflows, move quality gates (yard/rubocop/coverage/build) to the Ruby 3.3 step - Update TargetRubyVersion to 3.3 in .rubocop.yml - Update README supported Ruby version documentation - Remove dead Ruby >= 3.2 version guard in sidekiq Appraisals - Update instrumentation generator template and code to reference 3.3 Closes open-telemetry#2124
Address review feedback: use "3.3.11" instead of "3.3" for ruby/setup-ruby to match repo convention of 3-digit versioning.
Author
|
Thanks @thompson-tomo — good catch on the 3-digit versioning. Fixed in 560fdf2, both occurrences now use |
instrumentation/ruby_kafka/opentelemetry-instrumentation-ruby_kafka.gemspec
Show resolved
Hide resolved
instrumentation/restclient/opentelemetry-instrumentation-restclient.gemspec
Show resolved
Hide resolved
Reverts required_ruby_version changes for gems that should not receive further updates: - dalli: frozen — Dalli 4.2+ has native OTel instrumentation - mongo: frozen — Mongo Ruby Driver 2.23+ has native OTel instrumentation - ruby_kafka: deprecated — upstream no longer maintained - restclient: deprecated — upstream no longer maintained
Author
|
@thompson-tomo what is the preferred version in markdown checks workflows ? |
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.
Summary
>= 3.2to>= 3.3across all 64 gemsyard,rubocop,coverage,build) to the 3.3 stepTargetRubyVersionin.rubocop.ymlfrom3.2to3.3(verified zero new offenses)Ruby 3.2 reaches EOL on 2026-03-31. Ruby 3.3 is now the oldest actively maintained version.
Closes #2124
Related: open-telemetry/opentelemetry-ruby#2070 (same effort for the core repo)
Changes
required_ruby_versionfrom'>= 3.2'to'>= 3.3'(viabin/update-ruby-version 3.3)ruby-version: "3.2.10"→"3.3"TargetRubyVersion: 3.2→3.3>= 3.2.0Ruby version guard3.3Test plan