Add net-http dependency to gemspec.#31
Conversation
|
I still disagree with that stance and I've reached out to clarify. Leaving this here until we find an agreement |
|
@iMacTia I can try to help here. Is there any simple reproducer for |
|
I think this only happens where there's another gem directly pulling in a standard gem as a direct dependency. # on simi:patch-1 branch
require 'net-http' # (or net-protocol?)
require 'faraday-net_http'I'm not sure though, I haven't experienced this issue directly myself yet |
|
If that doesn't work, then mixing |
|
OK, thanks for the hints. I'll try to reproduce and report back. |
|
Just to clarify, I'm 👍 to this PR and I wouldn't expect it to cause issues on any supported rubies if the minimum supported version is 2.6, and |
|
Since Ruby 2.6 is EOL now, would it make sense to bump required ruby version and finally fix this? |
|
Let's ensure with @deivid-rodriguez this is still good idea. From my side 👍. |
|
I'll get things started while we wait for @deivid-rodriguez (merge + CI changes), will hold on cutting a release though 🙂 |
|
Yes, I still think this is a good idea, and also smoother if the version that ships the change won't be installable on older rubies 👍. |
|
@deivid-rodriguez @simi thank you both for participating in this discussion and for your patience. If you could give it a try, your feedback would be greatly appreciated 🙏 |
|
@deivid-rodriguez I know our environment is a bit weird, but I think this simple dependency addition exposed a possible RubyGems bug: ruby/rubygems#7374 |
As suggested at ruby/net-imap#16 (comment). It prevents double-loads as the one happening at Rails CI.
Regarding #7 (comment), gem is locked to Ruby 2.6+ and net-http gem is locked to Ruby 2.6+ as well.