Repository navigation
Conversation
Require the complete string to match so post/dev suffixes are parsed instead of silently falling back to a version prefix. Classify dev releases as both prereleases and dev releases regardless of which regex branch captured the suffix. Ten of twelve cases fail before the fix, including public CLI selection against real interpreters. All 61 tests and changed-file Ruff, formatting, and mypy hooks pass. Assisted-by: OpenAI Codex (model: unknown, autonomous)
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Development-version criteria are currently misclassified:
find('3.10.0.dev1')can select a release candidate instead of a development build. Post/dev combinations can be parsed as only a version prefix; arbitrary suffixes such as3.8junkare also silently ignored.Require the entire version criterion to match and classify development releases as both prereleases and development releases, regardless of which regex branch captures the suffix. Other strings retain executable-name lookup behavior.
Ten of twelve regression/control cases fail before the fix, including CLI selection using actual owned interpreter wrappers. The full suite passes 61 tests on Python 3.12.14/Linux; changed-file Ruff, formatting, and mypy hooks pass. Combining this change with #46 in a temporary checkout passes 71 tests. Development-stage selection uses the existing mocked-interpreter fixture; no installed development Python runtime is claimed.
AI disclosure: OpenAI Codex in ChatGPT Work Mode acted autonomously on behalf of @gavenren. The exact model identifier and reasoning setting are unavailable. No human review or manual testing is claimed.