Skip to content

Remove unused cgi require for Ruby 3.5 compatibility#713

Merged
radar merged 1 commit intoruby-i18n:masterfrom
Earlopain:cgi-ruby-3.5
Jun 23, 2025
Merged

Remove unused cgi require for Ruby 3.5 compatibility#713
radar merged 1 commit intoruby-i18n:masterfrom
Earlopain:cgi-ruby-3.5

Conversation

@Earlopain
Copy link
Contributor

@Earlopain Earlopain commented May 9, 2025

In Ruby 3.5 this emits a warning since most of the cgi gem is being removed.

i18n doesn't use this module anymore since the require was added 11 years ago, so it can just be removed to avoid the warning during require. Usage was removed in 6db6403

https://bugs.ruby-lang.org/issues/21258

In Ruby 3.5 this emits a warning since most of the `cgi` gem is being removed.

i18n doesn't use this module anymore since the require was added 11 years ago, so it can just be removed
to avoid the warning during require.

https://bugs.ruby-lang.org/issues/21258
@radar radar merged commit 35d8e5b into ruby-i18n:master Jun 23, 2025
@radar
Copy link
Collaborator

radar commented Jun 23, 2025

Thank you!

@tomstuart
Copy link

Would it be possible to get a release containing this change so we’re ready for the release of Ruby 4.0 next week?

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