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

What does it mean for a package version to be incompatible? #913

Closed
kyle-leonhard opened this issue Oct 18, 2024 · 2 comments
Closed

What does it mean for a package version to be incompatible? #913

kyle-leonhard opened this issue Oct 18, 2024 · 2 comments

Comments

@kyle-leonhard
Copy link

kyle-leonhard commented Oct 18, 2024

Love the tool! When running cargo upgrade I often see a warning like: Re-run with --incompatible to upgrade incompatible version requirements, and I see mention of version incompatibility and --incompatible in the readme and several issues (e.g. rust-lang/cargo#12425). However, I haven't found a definition of why a version might be incompatible. i thought, maybe it was any upgrades that weren't just patch version changes, but then, without --incompatible set, I see upgrades applied like: uuid 1.10.0 1.11.0 1.11.0 1.11.0.

What does "incompatible" actually mean in this context?

Here's a sample incompatibility I ran into today:

metrics                     0.23    0.23.0     0.24.0 0.23    incompatible
metrics-exporter-prometheus 0.15    0.15.3     0.16.0 0.15    incompatible
@epage
Copy link
Collaborator

epage commented Oct 18, 2024

There is already a discussion about this in #897 so closing in favor of that.

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
@kyle-leonhard
Copy link
Author

Thanks @epage !

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