Skip to content

Commit

Permalink
Merge pull request #108 from neutrinoceros/bld/cp313_wheels
Browse files Browse the repository at this point in the history
WHL: enable cp313 wheels
  • Loading branch information
neutrinoceros committed Aug 19, 2024
2 parents 225dcfb + fb9cac0 commit c653561
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
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

0 comments on commit c653561

Please sign in to comment.