Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Dependency conflict when azure_sdk_auth_aad used outside of the git repo #236

Closed
imp opened this issue Feb 11, 2020 · 4 comments
Closed

Comments

@imp
Copy link

imp commented Feb 11, 2020

I am trying to use azure_sdk_auth_aad crate for the sake of ARM support prototyping (#177). However, it seems the published version of this crate is not consistent with the in-repo version.

When I add a dependency on azure_sdk_auth_aad as well as reqwest in Cargo.toml

[dependencies]
azure_sdk_auth_aad = "0.35"
reqwest = { version = "0.10", features = ["json"] }

I am getting dependency conflict

    Updating crates.io index
error: failed to select a version for `hyper`.
    ... required by package `azure_sdk_core v0.35.0`
    ... which is depended on by `azure_sdk_auth_aad v0.35.0`
    ... which is depended on by `azure_sdk_arm v0.1.0 (/Volumes/replixio/azure_sdk_arm)`
versions that meet the requirements `^0.13.0-alpha.4` are: 0.13.2, 0.13.1, 0.13.0, 0.13.0-alpha.4

the package `azure_sdk_core` depends on `hyper`, with features: `unstable-stream` but `hyper` does not have these features.


all possible versions conflict with previously selected packages.

  previously selected package `hyper v0.13.0`
    ... which is depended on by `azure_sdk_core v0.35.0`
    ... which is depended on by `azure_sdk_auth_aad v0.35.0`
    ... which is depended on by `azure_sdk_arm v0.1.0 (.../azure_sdk_arm)`

failed to select a version for `hyper` which could resolve this conflict

Perhaps you need to publish azure_sdk_auth_aad on crates.io that will depend on azure_sdk_core 0.36 - similar to how it works in the git repository?

@MindFlavor
Copy link
Owner

The whole project is due to a new, global, release. I'll bump the version of all the crates to the same level, provided they compile ☺️ .

@MindFlavor
Copy link
Owner

I am waiting for the PR #237 to be merged and then I'll publish everything.

@MindFlavor
Copy link
Owner

The version 0.40.0 is out. Can you please try now?

@imp
Copy link
Author

imp commented Feb 17, 2020

Confirming, it works! Thanks!

@imp imp closed this as completed Feb 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants