Skip to content

Require Ruby 3.3, the oldest non-EOL Ruby - #170

Merged
jeremy merged 1 commit into
mainfrom
require-ruby-3.3
Aug 19, 2026
Merged

jeremy merged 1 commit into
mainfrom
require-ruby-3.3

Conversation

@jeremy

@jeremy jeremy commented Aug 19, 2026

Copy link
Copy Markdown
Member

Marcel's Ruby 2.7 floor pinned development dependencies to versions old enough to install there — most recently blocking the minitest 6 bump (#167). This adopts a supported-Ruby policy instead: require the oldest non-EOL Ruby series, currently 3.3 (supported until March 2027; 3.2 reached EOL 2026-03-31).

Nobody on an older Ruby breaks: Bundler resolves required_ruby_version, so apps on Ruby ≤ 3.2 — including Rails 8.x apps still on 3.2 — simply stay on the current Marcel release rather than picking up this line.

Changes

  • required_ruby_version → >= 3.3; minitest dev dependency → ~> 6.0 (the change the old floor was blocking); both lockfiles re-resolved.
  • Gemfile drops its RUBY_VERSION >= "2.7" guard around irb/debug.
  • gemfiles/runtime/Gemfile.lock was deliberately written by Bundler 2.4.22 without checksums because Ruby 2.7 could go no newer. It's now re-locked with the same Bundler as the main lock and enforces checksums, and the package test asserts the two locks share a toolchain instead of pinning the 2.4 format — a strict hardening gain.
  • CI matrix trims to 3.3 / 3.4 / 4.0 (+ head, JRuby, TruffleRuby as before). The dropped 2.7/3.0/3.1 legs were the only non-experimental jobs exercising the runtime gemfile, so a 3.3 runtime leg replaces them. (gemfile joins the base matrix keys so the include adds a job instead of silently merging into the existing 3.3 leg.)
  • Package test's floor guard updated: satisfied by 3.3.0, refuted for 3.2.x.

Verification

  • Main suite (Bundler 4.0.6, minitest 6.0.6): 527 runs, 0 failures; tables:check clean.
  • Runtime gemfile under BUNDLE_FROZEN=true: 512 runs, 0 failures.
  • Frozen install of the main lock passes, matching CI's BUNDLE_FROZEN mode.

Marcel's 2.7 floor pinned its development dependencies to versions old
enough to install there, most recently blocking the minitest 6 bump.
Adopt a supported-Ruby policy instead: require the oldest non-EOL Ruby
series (3.3 until March 2027; 3.2 reached end-of-life 2026-03-31).

Older rubies keep working with already-released Marcel: Bundler
resolves required_ruby_version, so Rails 8.x apps still on Ruby 3.2
simply stay on the current release rather than picking up this line.

Consequences of the raised floor:

* Bump minitest to ~> 6.0, the change the old floor was blocking.
* Drop the Gemfile's RUBY_VERSION guard around irb/debug.
* Re-lock gemfiles/runtime with the same Bundler as the main lock.
  Its old lock was deliberately written by Bundler 2.4.22 without
  checksums because Ruby 2.7 could go no newer; the runtime lock now
  enforces checksums like the main lock, and the package test asserts
  both locks share a toolchain instead of pinning the 2.4 format.
* Trim CI to 3.3/3.4/4.0 and add a non-experimental runtime-gemfile
  leg on the floor Ruby, replacing the 2.7/3.0/3.1 runtime legs so the
  runtime lock stays exercised outside the experimental (head/jruby/
  truffleruby) jobs. The gemfile key joins the base matrix so the
  include adds a job rather than merging into the existing 3.3 leg.
@jeremy
jeremy merged commit c14501f into main Aug 19, 2026
20 checks passed
@jeremy
jeremy deleted the require-ruby-3.3 branch August 19, 2026 22:13
@jeremy jeremy mentioned this pull request Aug 22, 2026
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.

1 participant