Skip to content

Commit 08ac623

Browse files
committed
Update CI
1 parent ae3bf9d commit 08ac623

File tree

3 files changed

+28
-27
lines changed

3 files changed

+28
-27
lines changed

.github/workflows/tests.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,25 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
os: [ubuntu-22.04, windows-2022, macos-14]
15-
python-version: ['3.9', '3.10', '3.11', '3.12']
14+
os: [ubuntu-latest, windows-latest, macos-latest]
15+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
1616
exclude:
1717
- os: macos-14
18-
python-version: '3.9' #macos-14 & py39 not supported by setup-python@v5
18+
python-version: "3.9" #macos-14 & py39 not supported by setup-python@v5
1919
steps:
20-
- uses: actions/checkout@v4
21-
with:
22-
submodules: True
23-
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v5
25-
with:
26-
python-version: ${{ matrix.python-version }}
27-
- name: Install dependencies
28-
run: |
29-
python -m pip install --upgrade pip
30-
python -m pip install tox tox-gh-actions
31-
- name: Test with tox
32-
run: tox
20+
- uses: actions/checkout@v5
21+
with:
22+
submodules: True
23+
24+
- name: Set up Python ${{ matrix.python-version }}
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
python -m pip install tox tox-gh-actions
33+
34+
- name: Test with tox
35+
run: tox

.github/workflows/wheels.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,30 @@ on:
77
tags: ["*"]
88
pull_request:
99
branches: ["*"]
10-
1110

1211
jobs:
1312
build_wheels:
1413
name: Build wheels on ${{ matrix.os }}
1514
runs-on: ${{ matrix.os }}
1615
strategy:
1716
matrix:
18-
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
17+
os: [ubuntu-latest, windows-latest, macos-latest]
1918
fail-fast: false
2019

2120
steps:
22-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v5
2322
with:
2423
submodules: True
25-
24+
2625
# Used to host cibuildwheel
2726
- uses: actions/setup-python@v5
2827
with:
2928
python-version: "3.13"
3029

31-
- name: Install cibuildwheel
32-
run: python -m pip install cibuildwheel==2.22.0
33-
3430
- name: Build wheels
35-
run: python -m cibuildwheel --output-dir wheelhouse
31+
uses: pypa/[email protected]
32+
with:
33+
output-dir: wheelhouse
3634

3735
- uses: actions/upload-artifact@v4
3836
with:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"scikit-build-core >=0.4.3",
4-
"nanobind == 2.1.0",
4+
"nanobind == 2.9.2",
55
"typing_extensions;python_version < '3.11'",
66
]
77
build-backend = "scikit_build_core.build"
@@ -39,7 +39,7 @@ build-dir = "build/{wheel_tag}"
3939
cmake.build-type = "Release"
4040

4141
# make sdist a lot lighter by removing some useless files from third_party
42-
# ⚠️ be sure to keep copyrights and license file
42+
# ⚠️ be sure to keep copyrights and license file
4343
sdist.exclude = [
4444
"third_party/eigen/bench",
4545
"third_party/eigen/demos",
@@ -108,7 +108,7 @@ commands = pytest -s --basetemp="{envtmpdir}" {posargs:tests/bench_knn.py tests/
108108
"""
109109

110110
[tool.cibuildwheel]
111-
build = "cp3{8,9,10,11,12,13}-*"
111+
build = "cp3{8,9,10,11,12,13,14}-*"
112112
archs = ["auto64"] # limits to 64bits builds
113113
skip = "cp38-macosx_arm64"
114114

0 commit comments

Comments
 (0)