Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore ruby 2.5 support #19

Closed

Conversation

deivid-rodriguez
Copy link

As far as I know, this is the only stdlib that has dropped ruby 2.5, which hasn't yet reached its End of Life date.

The motivation for this is that there's no gemified version of net-http that supports ruby 2.5, and that makes it hard for libraries
depending on net-http to properly declare the dependency, since the only way is to drop support for ruby 2.5, which many maintainers will not yet want to do.

The reason for wanting to declare the net-http dependency is mainly that it helps bundler & rubygems with avoiding double loads of different versions of net-http (the stdlib version and a higher gemified version). See for example ruby/net-imap#16.

As far as I can observe from commit history, the only reason for dropping support for ruby 2.5 was that tests didn't pass, so I made them pass.

As far as I know, this is the only stdlib that has dropped ruby 2.5,
which hasn't yet reached its End of Life date.

The motivation for this is that there's no gemified version of
`net-http` that supports ruby 2.5, and that makes it hard for libraries
depending on `net-http` to properly declare the dependency, since the
only way is to drop support for ruby 2.5, which many maintainers will
not yet want to do.

The reason for wanting to declare the `net-http` dependency is mainly
that it helps bundler & rubygems with avoiding double loads of different
versions of `net-http` (the stdlib version and a higher gemified version).

As far as I can observe from commit history, the only reason for
dropping support for ruby 2.5 was that tests didn't pass, so I made them
pass.
Copy link
Contributor

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this assist, it would help faraday-net_http a lot to have this gem out there, in order to bring us to a version of Faraday where we drop support for EOL'd 2.5.

stanhu added a commit to stanhu/mail_room that referenced this pull request Dec 14, 2021
This no longer builds due to the dependency of the net-http update.
ruby/net-http#19 would solve this issue.
@deivid-rodriguez
Copy link
Author

Based on precedents of other default gems, I don't think this is going to happen, so I'll close this.

@deivid-rodriguez deivid-rodriguez deleted the restore_2.5_support branch February 7, 2022 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants