nahi / httpclient

'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.
https://github.com/nahi/httpclient
699 stars 288 forks source link

warning: mutex_m was loaded from the standard library #458

Open muhasturk opened 4 months ago

muhasturk commented 4 months ago
➜  autometa git:(main) ✗ bundle exec fastlane match
[⠙] 🚀 /Users/hasturk/.rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/httpclient-2.8.3/lib/httpclient/auth.rb:11: warning: mutex_m was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add mutex_m to your Gemfile or gemspec. Also contact author of httpclient-2.8.3 to add mutex_m into its gemspec.
andrewhampton commented 3 months ago

Looks like this was already taken care of in https://github.com/nahi/httpclient/pull/455.

y-bonfire commented 2 months ago

I encountered the same issue, so I searched for it and ended up here. I resolved it this way. Does this seem correct to you? It appears that the repository has been updated, but it seems that the version on RubyGems has not been incremented. (v2.8.3 December 09, 2016) Therefore, I switched to installing from GitHub instead of RubyGems. https://rubygems.org/gems/httpclient

Gemfile

gem "mutex_m"
gem 'httpclient', git: 'https://github.com/nahi/httpclient'
sphanley commented 2 weeks ago

@nahi, is there any possibility of getting a new update pushed to RubyGems for httpclient? My team is dependent on it as a transitive dependency in an enterprise context, so it's preferred if we can resolve everything from RubyGems without overriding sources.