Skip to content

Conversation

deivid-rodriguez
Copy link
Contributor

The gem doesn't even install on old rubies, but since the gemspec claims it's supported, gem install pathname will try to install it and print an error.

This commit doesn't fix the above issue. The only way to fix it would be to restore support and release a new version that actually supports old rubies. However, such a change has been proposed and ignored for a long time. Also I noticed that deprecating taint/untaint was done without considering old rubies, so I think it's clear that maintainers don't want to support ruby 2.6.

So this issue proposes to leave that broken but at least bring the gemspec manifest and the CI matrix in sync to hopefully avoid this issue from happening again in the future.

@deivid-rodriguez
Copy link
Contributor Author

CI should be fixed once I finish ruby/rubygems#4992 and release it.

The gem doesn't even install on old rubies, but since the gemspec claims
it's supported, `gem install pathname` will try to install it and print
an error.

This commit doesn't fix the above issue. The only way to fix it would be
to restore support and release a new version that actually supports old
rubies. However, such a change has been proposed and ignored for a long
time.

So this issue proposes to leave that broken but at least bring the
gemspec manifest and the CI matrix in sync to hopefully avoid this issue
from happening again in the future.
@deivid-rodriguez
Copy link
Contributor Author

I released a new version of bundler that I think should fix the previous CI issue. So hopefully CI is now green.

@deivid-rodriguez
Copy link
Contributor Author

Oh nevermind. In this case, pathname is actually included in the Gemfile, so my fix doesn't cover it. This needs to wait for ruby/rubygems#4992 to get green.

@headius
Copy link

headius commented Dec 7, 2021

Fine with JRuby since we never supported the C extension in this gem. JRuby will need to be added in a separate PR for our Ruby 3.0-compatible release (JRuby 9.4).

@hsbt
Copy link
Member

hsbt commented Dec 24, 2021

I will look this after releasing Ruby 3.1

@hsbt hsbt self-assigned this Dec 24, 2021
@hsbt hsbt merged commit 95126f3 into ruby:master Jan 4, 2022
@deivid-rodriguez deivid-rodriguez deleted the remove_ruby_2_6_support branch January 4, 2022 10:16
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