Skip to content

Commit

Permalink
wheels: build freethreading wheels
Browse files Browse the repository at this point in the history
Signed-off-by: mayeut <mayeut@users.noreply.github.com>
  • Loading branch information
mayeut committed Dec 21, 2024
1 parent 304f08f commit 95ad56f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_ARCHS: "${{ matrix.arch }}"
CIBW_ENABLE: "cpython-prerelease"
CIBW_ENABLE: "${{ startsWith(github.ref, 'refs/tags/') && '' || 'cpython-prerelease' }}"
CIBW_TEST_EXTRAS: test
CIBW_TEST_COMMAND:
make -C {project} PYTHON="env python" PSUTIL_SCRIPTS_DIR="{project}/scripts" install-sysdeps install-pydeps-test install print-sysinfo test test-memleaks
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ XXXX-XX-XX

**Enhancements**

- 2476_: Build Python 3.13t (free-threading) wheels
- 2480_: Dropped Python 2.7 support.

**Compatibility notes**
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,11 @@ trailing_comma_inline_array = true
[tool.cibuildwheel]
skip = [
"*-musllinux*",
"cp313-win*", # pywin32 is not available on cp313 yet
"cp313t-win*", # pywin32 is not available on cp313t yet
"cp3{7,8,9,10,11,12}-*linux_{aarch64,ppc64le,s390x}", # Only test cp36/cp313 on qemu tested architectures
"pp*",
]
enable = ["cpython-freethreading"]

[tool.cibuildwheel.macos]
archs = ["arm64", "x86_64"]
Expand Down

0 comments on commit 95ad56f

Please sign in to comment.