Repository navigation
publish: build the release on Python 3.12 - #1319
Merged
Merged
Conversation
GitHub's ubuntu-latest runner moved to ubuntu-26.04, which has no
Python 3.9 build for actions/setup-python ("Version 3.9 with arch x64
not found"; 3.10 is the oldest available). The publish workflow pins
3.9, so the next release tag would fail before anything reaches PyPI.
Build the sdist and wheel on Python 3.12. The package is pure Python
(py3-none-any, requires-python >=3.8), so the interpreter that builds
it does not change what is shipped: building main on 3.9 and 3.12 gives
an identical sdist, and wheels that differ only in the setuptools
version recorded in dist-info/WHEEL.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Roger Luethi <luethi@osism.tech>
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.
GitHub's
ubuntu-latestrunner moved toubuntu-26.04, which has no Python 3.9 build foractions/setup-python(Version 3.9 with arch x64 not found; 3.10 is the oldest available). The publish workflow pins 3.9, so the next release tag would fail before anything reaches PyPI.This builds the sdist and wheel on Python 3.12. The package is pure Python (
py3-none-any,requires-python >=3.8), so the interpreter that builds it does not change what is shipped.Testing
mainlocally on Python 3.9 and 3.12 gives an identical sdist. The wheels differ only in the setuptools version recorded indist-info/WHEEL(82.0.1 vs 84.2.1).ubuntu-26.04runner is confirmed by the same change in osism/k8s-capi-images:Not tested: the PyPI upload. That runs only on a real release tag.
🤖 Generated with Claude Code