Skip to content

publish: build the release on Python 3.12 - #1319

Merged
berendt merged 1 commit into
mainfrom
publish-python-3.12
Nov 11, 2026
Merged

berendt merged 1 commit into
mainfrom
publish-python-3.12

Conversation

@ideaship

Copy link
Copy Markdown
Contributor

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.

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

  • Building main locally on Python 3.9 and 3.12 gives an identical sdist. The wheels differ only in the setuptools version recorded in dist-info/WHEEL (82.0.1 vs 84.2.1).
  • Python 3.12 on the ubuntu-26.04 runner 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

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>
@ideaship ideaship self-assigned this Nov 11, 2026
@ideaship
ideaship marked this pull request as ready for review November 11, 2026 09:26
@ideaship
ideaship requested a review from berendt November 11, 2026 09:26
@berendt
berendt merged commit 5a98091 into main Nov 11, 2026
3 checks passed
@berendt
berendt deleted the publish-python-3.12 branch November 11, 2026 09:28
@github-project-automation github-project-automation Bot moved this from New to Done in Human Board Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants