Skip to content

Keep fixed solver priorities during conflict handling - #1733

Draft
zaniebot wants to merge 1 commit into
zb/future-20260912-resolver-24from
zb/future-20260912-resolver-25
Draft

zaniebot wants to merge 1 commit into
zb/future-20260912-resolver-24from
zb/future-20260912-resolver-25

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

An unsatisfiable resolution can reach conflict reprioritization while the next package is a virtual Python constraint, causing a debug build to panic instead of reporting the conflict. The virtual Root, Python, and System packages have fixed priorities ahead of named packages, so exclude them from both reprioritization paths. Named packages continue to use the conflict heuristic, and unexpected package identities retain their diagnostic.

@astral-automations-bot astral-automations-bot Bot added the bug Something isn't working label Sep 12, 2026
@codspeed

codspeed Bot commented Sep 12, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 25 untouched benchmarks


Comparing zb/future-20260912-resolver-25 (9d9533c) with zb/future-20260912-resolver-24 (0e5275d)

Open in CodSpeed

@zaniebot zaniebot added risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. size:1 Small: one localized behavior with straightforward tests or documentation checks. labels Sep 22, 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

bug Something isn't working priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. risk:1 Negligible risk of localized mistakes that are obvious and easy to correct. size:1 Small: one localized behavior with straightforward tests or documentation checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant