diff --git a/CMakeLists.txt b/CMakeLists.txt index 66bf92e60..3194fba5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,8 @@ find_package(Python COMPONENTS Interpreter Development.Module) find_package(pybind11 CONFIG) message(STATUS "Found pybind11: ${pybind11_VERSION}") -if(${pybind11_VERSION} VERSION_LESS '2.11.1') - message(FATAL_ERROR "pybind11 version must be >= '2.11.1'") +if(${pybind11_VERSION} VERSION_LESS '2.12.0') + message(FATAL_ERROR "pybind11 version must be >= '2.12.0'") endif() add_definitions(-DPYBIND11_VERSION="${pybind11_VERSION}") diff --git a/pyproject.toml b/pyproject.toml index ad1dd3cec..37d2b9890 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = [ "scikit-build-core>=0.3.3", "setuptools_scm>=8", - "pybind11[global]==2.11.1", + "pybind11[global]==2.12.0", "cmake>=3.27.2" ] build-backend = "scikit_build_core.build" diff --git a/requirements/build.txt b/requirements/build.txt index 5f7571345..7758b65b7 100644 --- a/requirements/build.txt +++ b/requirements/build.txt @@ -1,5 +1,5 @@ # VERY minimal requirements # to build the package -pybind11[global] == 2.11.1 +pybind11[global] == 2.12.0 cmake >= 3.27.2 setuptools_scm<8