Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build free-threaded wheels #2005

Merged
merged 3 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ jobs:
architecture: x86
cibw:
build: "cp*win32"
# free-threaded doesn't seem to work on Windows
skip: "*t-win*"

- os: windows-2019
name: win-pypy
Expand All @@ -128,13 +130,17 @@ jobs:
architecture: x64
cibw:
build: "cp*win_amd64"
# free-threaded doesn't seem to work on Windows
skip: "*t-win*"

- os: windows-2022
name: win_arm64
architecture: x64
cibw:
arch: ARM64
skip: "cp37*"
# free-threaded doesn't seem to work on Windows
skip: "*t-win*"

steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ search = '__version__: str = "{current_version}"'

[tool.cibuildwheel]
build-verbosity = "1"
free-threaded-support = true
test-requires = ["pytest", "importlib_metadata"]
test-command = "pytest -vsx {package}/tools/test_wheel.py"

Expand Down Expand Up @@ -192,3 +193,7 @@ manylinux-i686-image = "manylinux2010"

# note: manylinux_2_28 builds are added
# in .github/workflows/wheels.yml

[[tool.cibuildwheel.overrides]]
select = "cp313t-*"
build-frontend = "pip; args: -v --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
Loading