-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Use generic pubgrub incompatibility reason #3335
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
Conversation
CodSpeed Performance ReportMerging #3335 will not alter performanceComparing Summary
|
a64cfed
to
0b93a71
Compare
The whole plural handling imho makes a lot of effort over just reformulating plural-independent |
6f1e47d
to
a56a2d4
Compare
╰─▶ Because black==23.10.1 was not found in the cache and you require black==23.10.1, we can conclude that the requirements are unsatisfiable. | ||
╰─▶ Because black was not found in the cache and you require black==23.10.1, we can conclude that the requirements are unsatisfiable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The message improves here because it's the versions of black, not that specific version, that is missing in the cache
╰─▶ Because example-a-961b4c22==1.0.0 was not found in the package registry and you require example-a-961b4c22==1.0.0, we can conclude that the requirements are unsatisfiable. | ||
╰─▶ Because example-a-961b4c22 was not found in the package registry and you require example-a-961b4c22==1.0.0, we can conclude that the requirements are unsatisfiable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused why does this test error? Shouldn't this resolve cc @charliermarsh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Pubgrub got a new feature where all unavailability is a custom, instead of the reasonless
UnavailableDependencies
and our customString
type previously (pubgrub-rs/pubgrub#208). This PR introduces aUnavailableReason
that tracks either an entire version being unusable, or a specific version. The error messages now also track this difference properly.The pubgrub commit is our main rebased onto the merged pubgrub-rs/pubgrub#208, i'll push
konsti/main-rebase-generic-reason
tomain
after checking for rebase problems.