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

WHL: enable cp313 wheels #108

Merged
merged 1 commit into from
Aug 19, 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
2 changes: 1 addition & 1 deletion .github/workflows/bleeding-edge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: 3.13-dev
- uses: yezz123/setup-uv@v4
with:
uv-version: 0.2.18
uv-version: 0.2.33
uv-venv: .venv

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- uses: yezz123/setup-uv@v4
with:
uv-version: 0.2.18
uv-version: 0.2.33
uv-venv: .venv

- run: uv pip install --requirement test_requirements.txt
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- windows-2019
- ubuntu-latest
- windows-latest
- macos-13 # x86_64
- macos-14 # arm64

Expand All @@ -31,11 +31,11 @@ jobs:

- uses: yezz123/setup-uv@v4
with:
uv-version: 0.2.18
uv-version: 0.2.33
uv-venv: .venv

- name: Build wheels for CPython
uses: pypa/cibuildwheel@v2.19.2
uses: pypa/cibuildwheel@v2.20.0
with:
output-dir: dist
env:
Expand Down Expand Up @@ -76,15 +76,15 @@ jobs:
python-version: 3.x
- uses: yezz123/setup-uv@v4
with:
uv-version: 0.2.18
uv-version: 0.2.33
uv-venv: .venv
- name: install check-manifest
run: uv pip install check-manifest
- name: Install build time dependencies
shell: bash
run: |
uv pip install "Cython>=3.0,<3.1"
uv pip install oldest-supported-numpy
uv pip install "Cython>=3.0"
uv pip install numpy>=2.0.0
uv pip install --upgrade wheel
uv pip install --upgrade setuptools
- name: Build
Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[build-system]
# keep in sync with wheels.yaml
requires = [
"setuptools>=61.2",
"Cython>=3.0",
"numpy>=2.0.0rc1",
"numpy>=2.0.0",
]

[project]
Expand Down Expand Up @@ -30,6 +31,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

[project.license]
Expand Down Expand Up @@ -84,7 +86,7 @@ select = [
combine-as-imports = true

[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-*"
build = "cp39-* cp310-* cp311-* cp312-* cp313-*"
build-frontend = "build[uv]"
build-verbosity = 1
test-skip = "*-musllinux*"
Expand Down