Skip to content

🐛 fix(spec): compare version specifiers at their written precision - #246

Merged
gaborbernat merged 2 commits into
tox-dev:mainfrom
qodelicious:fix-spec-satisfies-precision
Nov 6, 2026
Merged

gaborbernat merged 2 commits into
tox-dev:mainfrom
qodelicious:fix-spec-satisfies-precision

Conversation

@qodelicious

@qodelicious qodelicious commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Windows discovery now skips registered CPython releases that cannot meet a version constraint before interrogating them. A 3.11 registration is rejected for >=3.13, while a 3.14 registration remains eligible for ==3.14rc1 until its prerelease status is known.

The registry filter compares the release parts available in each registration at the constraint's precision. The full interpreter check decides prerelease matches because the registry candidate carries no prerelease status.

qodelicious and others added 2 commits November 6, 2026 02:36
Registry entries omit prerelease status, so a matching release must reach
interpreter interrogation before a prerelease constraint can reject it.

Remove the generated coverage database committed to the PR.
@gaborbernat gaborbernat added the bug Something isn't working label Nov 6, 2026
@gaborbernat
gaborbernat merged commit a57dd1e into tox-dev:main Nov 6, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants