Skip to content

Commit

Permalink
bump pybind11 to 2.12.0 (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Jul 1, 2024
1 parent 78aa168 commit bee37c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion requirements/build.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bee37c2

Please sign in to comment.