Repository navigation
Require Ruby 3.3, the oldest non-EOL Ruby - #170
Merged
Merged
Conversation
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.
Merged
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.
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.Gemfiledrops itsRUBY_VERSION >= "2.7"guard around irb/debug.gemfiles/runtime/Gemfile.lockwas 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.3.3 runtimeleg replaces them. (gemfilejoins the base matrix keys so the include adds a job instead of silently merging into the existing 3.3 leg.)Verification
tables:checkclean.BUNDLE_FROZEN=true: 512 runs, 0 failures.BUNDLE_FROZENmode.