Open honeyankit opened 1 year ago
I have created a draft PR (https://github.com/Azure/azure-storage-ruby/pull/228) to update the Faraday version to 2.0 for azure-storage-common
. If the testing mentioned in the doc is sufficient ?
Faraday upgrade docs.
After upgrading the faraday
to 2.0, the faraday_middleware
is complaining to use faraday
1.0.
$ bundle install
Fetching gem metadata from https://rubygems.org/...........
Resolving dependencies...
Bundler could not find compatible versions for gem "faraday":
In Gemfile:
faraday (~> 2.0)
faraday_middleware (~> 1.0.0.rc1) was resolved to 1.0.0, which depends on
faraday (~> 1.0)
Based on the faraday_middleware docs. It has been deprecated and need to use the middleware in awesome-faraday replaced the ones using in faraday_middleware in this repo.
@honeyankit Nice PR. This seems to be a big issue for many people. Microsofts own oauth solution is incompatible with this package because it uses Faraday 2 as well. Your PR fixes that. For now I am forking off your solution. Hopefully MS can accept your solution ASAP.
What's the state on this? any plan for merging?
Hello,
We are using azure-storage-blob with ruby on rails dependabot application in order to create resources in Azure. The version of
azure-storage-blob
used is 2.0 which depends onazure-storage-common
which depends onFaraday
version 1.0.0.This is causing an issue as we are using
faraday-retry
2.0.0 which depends onfaraday
2.0 and we cannot downgrade tofaraday
1.0.0 as it will break of things for us.Logs from the
bundle update
command:Could you please review and try to fix this issue? Thanks in advance!
Ankit