Skip to content

Drop Ruby 3.1 and 3.2 support#454

Merged
Morriar merged 1 commit intomainfrom
at/drop-ruby-3.1-3.2
May 1, 2026
Merged

Drop Ruby 3.1 and 3.2 support#454
Morriar merged 1 commit intomainfrom
at/drop-ruby-3.1-3.2

Conversation

@Morriar
Copy link
Copy Markdown
Contributor

@Morriar Morriar commented May 1, 2026

Summary

  • Bump required_ruby_version from >= 3.1 to >= 3.3
  • Update CI test matrix: remove 3.1 and 3.2, add 3.4 and 4.0
  • Update .ruby-version from 3.2.2 to 3.3.5
  • Bump ruby/setup-ruby action to v1.306.0 (adds Ruby 4.0 support)

Ruby 3.1 reached EOL on 2025-03-31. Ruby 3.2 will reach EOL on 2026-03-31.

This also unblocks dependency upgrades that have dropped Ruby 3.2 support (parallel 2.x, rbi 0.3.11+).

@Morriar Morriar requested a review from a team as a code owner May 1, 2026 19:09
@Morriar Morriar mentioned this pull request May 1, 2026
@Morriar Morriar force-pushed the at/drop-ruby-3.1-3.2 branch from a1bb160 to e31892a Compare May 1, 2026 19:10
@Morriar Morriar changed the base branch from main to at/bump-minitest May 1, 2026 19:11
@Morriar Morriar force-pushed the at/drop-ruby-3.1-3.2 branch from e31892a to 9632d99 Compare May 1, 2026 19:16
@exterm
Copy link
Copy Markdown
Contributor

exterm commented May 1, 2026

So much activity on packwerk lately! It's nice to see. What is the reason?

@Morriar
Copy link
Copy Markdown
Contributor Author

Morriar commented May 1, 2026

So much activity on packwerk lately! It's nice to see. What is the reason?

Just me trying to land #455.

@Morriar Morriar force-pushed the at/drop-ruby-3.1-3.2 branch from 9632d99 to eb1152f Compare May 1, 2026 19:24
Comment thread .github/workflows/ci.yml Outdated
- "3.2"
- "3.3"
- "3.4"
- "3.5"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- "3.5"
- "4.0"

?

@exterm
Copy link
Copy Markdown
Contributor

exterm commented May 1, 2026

Just me trying to land #455.

Base automatically changed from at/bump-minitest to at/fix-prism-warnings May 1, 2026 19:44
Base automatically changed from at/fix-prism-warnings to main May 1, 2026 19:45
@Morriar Morriar force-pushed the at/drop-ruby-3.1-3.2 branch 2 times, most recently from f195bcf to 5d6b343 Compare May 1, 2026 19:50
Ruby 3.1 reached EOL on 2025-03-31 and Ruby 3.2 will reach EOL
on 2026-03-31. Bump minimum to Ruby 3.3 and add 3.4 and 4.0 to
the CI test matrix.

Fix Hash.new(name: "boop") in package_test.rb which raises
ArgumentError on Ruby 4.0 since Hash.new no longer accepts
arbitrary keyword arguments.
@Morriar Morriar force-pushed the at/drop-ruby-3.1-3.2 branch from 5d6b343 to d4fe396 Compare May 1, 2026 19:55
@Morriar Morriar merged commit dc575e2 into main May 1, 2026
11 checks passed
@Morriar Morriar deleted the at/drop-ruby-3.1-3.2 branch May 1, 2026 19:59
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.

3 participants