Skip to content

Commit b6e45b9

Browse files
authored
Merge pull request #447 from jorisv/topic/nanobind-update
Update nanobind version to allow updating numpy
2 parents 1b9f515 + ef39f73 commit b6e45b9

5 files changed

Lines changed: 8 additions & 12 deletions

File tree

.github/workflows/conda/environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ channels:
33
- conda-forge
44
- nodefaults
55
dependencies:
6+
- python-gil
67
- cmake
78
- compilers
89
- make
@@ -16,5 +17,5 @@ dependencies:
1617
- eigen
1718
- simde
1819
- libmatio
19-
- numpy<2.4
20+
- numpy
2021
- scipy

.github/workflows/release-linux.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
arch: ["x86_64", "aarch64"]
24-
build: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
24+
build: ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
2525
include:
2626
- arch: "x86_64"
2727
os: ubuntu-latest
2828
- arch: "aarch64"
2929
os: ubuntu-24.04-arm
30-
exclude:
31-
- arch: "aarch64"
32-
build: "cp38-*"
3330

3431
steps:
3532
- uses: actions/checkout@v6
@@ -66,10 +63,7 @@ jobs:
6663
fail-fast: false
6764
matrix:
6865
os: [ubuntu-latest, ubuntu-24.04-arm]
69-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
70-
exclude:
71-
- os: "ubuntu-24.04-arm"
72-
python-version: "3.8"
66+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
7367
steps:
7468
- uses: actions/setup-python@v6
7569
with:

.github/workflows/release-osx-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
23+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2424
os: [macos-15-intel, macos-14, windows-2022]
2525
include:
2626
- os: windows-2022
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup conda
4242
uses: conda-incubator/setup-miniconda@v3
4343
with:
44-
miniforge-version: latest
44+
miniforge-version: 25.11.0-1
4545
python-version: ${{ matrix.python-version }}
4646
activate-environment: proxsuite
4747
channels: conda-forge

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ option(GENERATE_PYTHON_STUBS "Generate Python stubs" OFF)
99

1010
FINDPYTHON(REQUIRED)
1111
set(Python_INCLUDE_DIRS ${Python3_INCLUDE_DIRS})
12+
set(Python_VERSION ${Python3_VERSION})
1213
# Nanobind expects these targets instead of Python3::*
1314
# https://github.com/jrl-umi3218/jrl-cmakemodules/issues/708
1415
add_library(Python::Module ALIAS Python3::Module)

bindings/python/external/nanobind

Submodule nanobind updated 102 files

0 commit comments

Comments
 (0)