Update RBS to 4.2.0 - #2277
Merged
Merged
Conversation
soutaro
enabled auto-merge
August 27, 2026 07:28
soutaro
force-pushed
the
claude/rbs-4-2-update-3eb855
branch
from
August 27, 2026 07:51
b4ae23c to
d765239
Compare
soutaro
disabled auto-merge
August 27, 2026 07:57
soutaro
force-pushed
the
claude/rbs-4-2-update-3eb855
branch
from
August 27, 2026 07:59
d765239 to
cf121c3
Compare
Require `rbs` 4.2 rather than 4.0. ruby/rbs#3067 fixes type param alignment for module self types, which Steep relies on when it validates mixin constraints, and the fix is not backported to the 4.1 series. RBS 4.2 requires Ruby 3.3, so `required_ruby_version` moves up to match. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
It landed in Ruby 3.3, which is now the minimum supported version. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
soutaro
force-pushed
the
claude/rbs-4-2-update-3eb855
branch
from
August 27, 2026 08:00
cf121c3 to
219391e
Compare
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.
The gem dependency moves from
rbs ~> 4.0to~> 4.2. ruby/rbs#3067 fixes type param alignment for module self types, which Steep relies on when it validates mixin constraints, and it is not backported to the 4.1 series.RBS 4.2 requires Ruby 3.3, so
required_ruby_versionmoves up to match and thedefined?(Process.warmup)check inTypeCheckWorkergoes away --Process.warmuplanded in 3.3. Nothing else inlib/was gated on the Ruby version, and CI already runs 3.3, 3.4 and 4.0.