Require Ruby >= 3.3 and update CI Ruby versions#30
Merged
Conversation
dkisselev
approved these changes
Jun 25, 2026
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
Ruby 3.2 is now EOL. This PR raises the minimum supported Ruby to 3.3 and refreshes CI so the test matrix targets the supported set (3.3 and 3.4).
Motivation: resolve Ruby version restrictions from rubyatscale/pack_stats#56, where supporting EOL Ruby forced older/vulnerable transitive dependencies.
Changes
packs-specification.gemspec:required_ruby_versionraised from>= 3.1to>= 3.3..github/workflows/ci.yml: RSpec matrix now tests3.3,3.4, and4.0(dropped3.2). The type-check job stays pinned at3.3(already supported)..rubocop.yml:TargetRubyVersionraised from2.6to3.3.Notes
.ruby-version/.tool-versions/.standard.ymlfiles exist in this repo, and the README has no minimum-version statement to update.bundle installwas run andGemfile.lockis unchanged.Bundler
Also bumps
BUNDLED WITHinGemfile.lockto bundler 4.0.15 (latest). The previously pinned bundler version crashes on Rubyhead(NameError: uninitialized constant Pathname::SEPARATOR_PAT) — see this failing run. Pinning the current bundler resolves it.