-
Notifications
You must be signed in to change notification settings - Fork 101
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
Unable to check for updates when latest versions conflict #157
Comments
So this issue is about [dependencies]
lazy_static = "1.2"
criterion = "=0.2.7" i.e. even Or is it a more intricate issue with conflicting transitive dependencies/lock files? (I ask because I have a similar issue but apparently cargo update seems to work there.) |
Actually my issue boils down to [dependencies]
tiff = "=0.2.0"
byteorder = "*" cargo update thinks it's fine but cargo outdated fails. |
Yes, it's a case where even Cargo would fail to resolve the dependencies. (criterion has updated its deps since, but the problem in general remains) |
I see. (In that case the second example I've just posted might be a different issue to do with asterisk specifiers, If semver compatible updates are not the goal or to be disabled optionally (see #134) then I wonder if setting the version specifier to |
I think I am running into this issue as well:
This is a regression: I have just updated cargo-outdated, and before the update, this exact same repository would work just fine for cargo-outdated. Unfortunately I don't know which version number I came from, but it was old. |
I have a dependency on ring v0.14.6 and can’t use
To be clear, |
I've created a workaround for this — a command that just checks cargo metadata against the index, without trying to be clever about resolving the versions: |
@kornelski perfect, that does a great job. thanks! |
cargo-outdated
can't show any version information if Cargo finds a conflict with the latest versions.In my case:
lazy_static ~1.1
lazy_static 1.2
existsIf a project uses
lazy_static
on its own, this creates a conflict between criterion's 1.1 and the latest 1.2.As a result, cargo-outdated fails and can't show any version information.
The text was updated successfully, but these errors were encountered: