Skip to content

Commit f5262dc

Browse files
authored
bump pybind11 to 3.0 (#1387)
1 parent ce02bf7 commit f5262dc

File tree

3 files changed

+1402
-1402
lines changed

3 files changed

+1402
-1402
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ find_package(Python COMPONENTS Interpreter Development.Module)
2121
find_package(pybind11 CONFIG)
2222

2323
message(STATUS "Found pybind11: ${pybind11_VERSION}")
24-
if(${pybind11_VERSION} VERSION_LESS '2.12.0')
25-
message(FATAL_ERROR "pybind11 version must be >= '2.12.0'")
24+
if(${pybind11_VERSION} VERSION_LESS '3.0')
25+
message(FATAL_ERROR "pybind11 version must be >= '3.0'")
2626
endif()
2727
add_definitions(-DPYBIND11_VERSION="${pybind11_VERSION}")
2828

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
requires = [
44
"scikit-build-core==0.11.1",
55
"setuptools_scm==7.1.0",
6-
"pybind11[global]==2.12.0",
6+
"pybind11[global]==3.0",
77
"numpy >= 2.0"
88
]
99
build-backend = "scikit_build_core.build"
@@ -40,7 +40,7 @@ requires-python = ">=3.10, <3.14"
4040
build = [
4141
"scikit-build-core==0.11.1",
4242
"setuptools_scm==7.1.0",
43-
"pybind11[global]==2.12.0",
43+
"pybind11[global]==3.0",
4444
"numpy >= 2.0"
4545
]
4646
format = [

0 commit comments

Comments
 (0)