httpclient icon indicating copy to clipboard operation
httpclient copied to clipboard

warning: mutex_m was loaded from the standard library

Open muhasturk opened this issue 1 year ago • 5 comments

➜  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.

muhasturk avatar Feb 23 '24 19:02 muhasturk

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

andrewhampton avatar Mar 11 '24 14:03 andrewhampton

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'

y-bonfire avatar Apr 18 '24 18:04 y-bonfire

@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.

sphanley avatar Jun 13 '24 20:06 sphanley

+1

Wolfer avatar Dec 04 '24 11:12 Wolfer

httpclient 2.9.0 has been released that includes https://github.com/nahi/httpclient/pull/455

yahonda avatar Feb 27 '25 07:02 yahonda