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

Dependency problem with faraday-middleware 1.1.0 #196

Closed
jlavanchy opened this issue Aug 25, 2021 · 4 comments
Closed

Dependency problem with faraday-middleware 1.1.0 #196

jlavanchy opened this issue Aug 25, 2021 · 4 comments

Comments

@jlavanchy
Copy link

Hello,

I have a dependency problem with the gem azure-storage-common. This gem is using faraday-middleware version 1.0.0.rc1.

We are using azure-storage-blob with Chef in order to download resources from Azure. The last version of Chef (17.4) ship with the last version of Faraday-middleware (1.1.0) released on July 31, 2021. Which leads to Chef crashing in our tests and production servers running the last version.

For the time being, we rollbacked to the previous minor version of Chef on our end which is using faraday-middleware version 1.0.0.

Could you please review and try to fix this issue? Thanks in advance!

Julien.

@jlavanchy
Copy link
Author

Any news on this?

@nertzy
Copy link

nertzy commented Sep 9, 2021

In the future, it would be better if dependencies were not so specific.

Instead of

"~> 1.0.0.rc1"

It could have been

"~> 1.0", ">= 1.0.0.rc1"

or something similar. That would allow versions 1.1, 1.2, etc. I believe this was the original intent since there is also a dependency on faraday ~> 1.0

The fact that using an rc1 version is allowed should not also make the version restriction more strict, in my opinion.

@nertzy
Copy link

nertzy commented Dec 7, 2021

Solved for me in the gems released yesterday.

@jlavanchy
Copy link
Author

yes for me too thanks everyone! I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants