Skip to content

ci: recover Python version from normalized wheel tag - #46

Merged
cyyever merged 1 commit into
trimfrom
fix/gitea-cp-python-3116
Nov 16, 2026
Merged

cyyever merged 1 commit into
trimfrom
fix/gitea-cp-python-3116

Conversation

@cyyever

@cyyever cyyever commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

The CUDA wheel workflow sources set_desired_python.sh twice. The first invocation converts 3.14 to cp314-cp314; the later invocation sees the normalized tag but previously left py_majmin unset, causing the system-Python fallback to reject Python 3.14.

Derive the interpreter version from normalized cpXY-cpXY tags before checking the system interpreter. This keeps the existing exact-version check and also handles free-threaded tags with the same prefix.

Validation: bash -n and a shell reproduction that sources the script twice with cp314-cp314 and system Python 3.14. Full wheel build not run.

@cyyever
cyyever merged commit 5329301 into trim Nov 16, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant