Skip to content

Simplify errors for yanked singleton candidates - #566

Draft
zaniebot wants to merge 3 commits into
zb/simplify-no-build-resolution-errorsfrom
zb/simplify-yanked-single-candidate-errors
Draft

zaniebot wants to merge 3 commits into
zb/simplify-no-build-resolution-errorsfrom
zb/simplify-yanked-single-candidate-errors

Conversation

@zaniebot

@zaniebot zaniebot commented Aug 5, 2026 •

Copy link
Copy Markdown
Collaborator

When a requirement range contains exactly one yanked release, the resolver currently lists unrelated versions outside that range instead of explaining why no other candidate can satisfy it. Report the yanked version and its reason together with an explicit statement that no other published versions satisfy the requirement, while preserving full availability context when the package has only one release.

@astral-automations-bot astral-automations-bot Bot added the area:error-messages Messaging when something goes wrong label Aug 5, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/simplify-no-build-resolution-errors branch from c751346 to c135bc4 Compare August 5, 2026 22:19
@zaniebot
zaniebot force-pushed the zb/simplify-yanked-single-candidate-errors branch from 30831ae to 1a2c5ae Compare August 7, 2026 14:16
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. labels Sep 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:error-messages Messaging when something goes wrong priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. size:2 Moderate: one subsystem with meaningful invariants, edge cases, or operational evidence to inspect.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants