Skip to content

Require Ruby >= 3.3 and update CI Ruby versions#32

Merged
dduugg merged 2 commits into
mainfrom
bump-min-ruby-3.3
Jun 25, 2026
Merged

Require Ruby >= 3.3 and update CI Ruby versions#32
dduugg merged 2 commits into
mainfrom
bump-min-ruby-3.3

Conversation

@dduugg

@dduugg dduugg commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps the minimum supported Ruby version to 3.3 (Ruby 3.2 is now EOL) and refreshes Ruby version configuration.

Changes in this repo:

  • query_packwerk.gemspec: required_ruby_version bumped from '>= 3.1.0' to '>= 3.3'.
  • .rubocop.yml: TargetRubyVersion bumped from 3.1 to 3.3.
  • .github/workflows/release.yml: the ruby/setup-ruby step in the tag job, pinned to ruby-version: 3.2, bumped to 3.3.

Note: .github/workflows/ci.yml already tested against 3.3 and 3.4 only, so its matrix needed no changes.

Motivation

Resolves the Ruby version restrictions from rubyatscale/pack_stats#56, where supporting EOL Ruby forced older/vulnerable transitive dependencies. The supported set going forward is Ruby 3.3 and 3.4.

Bundler

Also bumps BUNDLED WITH in Gemfile.lock to bundler 4.0.15 (latest). The previously pinned bundler version crashes on Ruby head (NameError: uninitialized constant Pathname::SEPARATOR_PAT) — see this failing run. Pinning the current bundler resolves it.

@dduugg dduugg requested a review from a team as a code owner June 25, 2026 21:17
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Jun 25, 2026
@dduugg dduugg merged commit b537aba into main Jun 25, 2026
2 checks passed
@dduugg dduugg deleted the bump-min-ruby-3.3 branch June 25, 2026 21:38
@github-project-automation github-project-automation Bot moved this from Triage to Done in Modularity Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants