Skip to content

Attribute exact Python requirement warnings to workspace members - #662

Draft
zaniebot wants to merge 2 commits into
zb/reproduce-bug/14481from
zb/fix-bug/14481
Draft

zaniebot wants to merge 2 commits into
zb/reproduce-bug/14481from
zb/fix-bug/14481

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Intersecting workspace Python requirements can produce an exact version that no project declared, causing uv lock to warn about a nonexistent == specifier without identifying a source. Inspect each original requires-python specifier before intersection instead, report the package or dependency group that actually declared an exact match without a patch version, and avoid warning about exact ranges derived from unrelated bounds. Preserve the existing warning for scripts. Fixes astral-sh#14481.

@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