Skip to content

Drop runtime support for Ruby 3.2 - #3095

Merged
soutaro merged 1 commit into
masterfrom
claude/4-2-release-tasks-h6thzx
Aug 23, 2026
Merged

Drop runtime support for Ruby 3.2#3095
soutaro merged 1 commit into
masterfrom
claude/4-2-release-tasks-h6thzx

Conversation

@soutaro

@soutaro soutaro commented Aug 23, 2026

Copy link
Copy Markdown
Member

Ruby 3.2 reached EOL on 2026-04-01, and CI has been running 3.3, 3.4, 4.0 and head for a while, so 3.2 was declared as supported without being tested. required_ruby_version becomes >= 3.3, which is what CI actually covers. Users still on 3.2 stay on the 4.1 line.

Closes #2830.


Generated by Claude Code

Ruby 3.2 reached EOL on 2026-04-01, and CI has been running 3.3, 3.4,
4.0 and head for a while, so 3.2 is declared as supported without being
tested. Raise `required_ruby_version` to `>= 3.3` and delete the code
that only existed for 3.2:

- `Prototype::Helpers#parse_comments` had a Ripper implementation for
  3.2, where Prism cannot parse the source. Only the Prism one is left.
- The `RUBY_VERSION >= '3.2'` guards around `Data` in the runtime
  prototype are always true now.

`.rubocop.yml` pinned `TargetRubyVersion` to 3.4 while the gem accepted
3.2. Drop the setting rather than correct it: with nothing pinned,
RuboCop reads `required_ruby_version` from the gemspec, so the two
cannot drift apart again. The tree is clean at the inferred 3.3.

The `if false` block that set `required_ruby_version` to `>= 3.4` is
dead code from an earlier experiment and goes with it.

Closes #2830

Co-Authored-By: Claude <noreply@anthropic.com>
@soutaro
soutaro added this pull request to the merge queue Aug 23, 2026
Merged via the queue into master with commit 1f40487 Aug 23, 2026
24 checks passed
@soutaro
soutaro deleted the claude/4-2-release-tasks-h6thzx branch August 23, 2026 13:29
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.

Drop runtime support for Ruby 3.2

2 participants