Skip to content

ci: build linux wheels for all CPython versions - #264

Merged
manugarg merged 1 commit into
mainfrom
linux-wheels-all-pythons
Oct 3, 2026
Merged

manugarg merged 1 commit into
mainfrom
linux-wheels-all-pythons

Conversation

@manugarg

@manugarg manugarg commented Oct 3, 2026

Copy link
Copy Markdown
Owner

The linux wheel job used a hardcoded CIBW_BUILD list that stopped at 3.12, so 1.5.2 has no linux wheels for Python 3.13 and 3.14 (macOS and Windows have them, since they come from the python-module-build matrix). On those versions pip falls back to a source build, which is what #263 ran into.

Changes

  • CIBW_BUILD is now cp3*-manylinux*64, so every CPython version cibuildwheel supports is built and new ones are picked up automatically.
  • Both twine upload steps pass --skip-existing, so the workflow can be re-run for an existing tag (e.g. v1.5.2 via workflow_dispatch) to backfill the missing wheels without failing on files already on PyPI.

Notes

  • The wildcard also matches free-threaded builds (e.g. cp314t), which the old list never attempted. If that build fails here, add CIBW_SKIP: "cp3??t-*".
  • Still x86_64 manylinux only; no aarch64 or musllinux.
  • Publish steps are skipped on pull requests, so this PR's CI run exercises the new build list without uploading.

Refs #263

The linux wheel job used a hardcoded CIBW_BUILD list that stopped at
3.12, so no linux wheels were published for 3.13 and 3.14 (#263). Use a
wildcard so new Python versions are picked up automatically.

Also pass --skip-existing to twine so the workflow can be re-run for an
existing tag to backfill missing wheels.
@sonarqubecloud

sonarqubecloud Bot commented Oct 3, 2026

Copy link
Copy Markdown

@manugarg
manugarg merged commit 726b7d2 into main Oct 3, 2026
30 checks passed
@manugarg
manugarg deleted the linux-wheels-all-pythons branch October 3, 2026 07:24
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