Skip to content

Commit

Permalink
DEP: Update minimum support Pybind11 version to 2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
RUrlus committed Jun 12, 2024
1 parent fdf97b9 commit 542bd6a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
fail-fast: false
matrix:
armadillo: ["10.8.x", "11.4.x", "12.4.x", "12.6.x", "12.8.x"]
pybind: ["v2.10.4", "v2.11.1"]
pybind: ["v2.12.0"]

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
4 changes: 2 additions & 2 deletions cmake/GetPybind11.cmake
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
include(FetchContent)

SET(DEFAULT_PYBIND11_VERSION v2.11.1)
SET(DEFAULT_PYBIND11_VERSION v2.12.0)
IF (NOT USE_PYBIND11_VERSION)
MESSAGE(STATUS "carma: Setting Pybind11 version to '${DEFAULT_PYBIND11_VERSION}' as none was specified.")
SET(USE_PYBIND11_VERSION "${DEFAULT_PYBIND11_VERSION}" CACHE STRING "Choose the version of Pybind11." FORCE)
# Set the possible values of build type for cmake-gui
SET_PROPERTY(CACHE USE_PYBIND11_VERSION PROPERTY STRINGS
"v2.6.2" "v2.7.1" "v2.8.1" "v2.9.0" "v2.9.1" "v2.9.2" "v2.10.4" "v2.11.1"
"v2.12.0"
)
ENDIF ()

Expand Down
2 changes: 1 addition & 1 deletion integration_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SET(MODNAME "integration_test_carma")
# -- EXTERNAL
INCLUDE(FetchContent)

SET(USE_PYBIND11_VERSION v2.11.1)
SET(USE_PYBIND11_VERSION v2.12.0)

# Pybind11
FetchContent_Declare(
Expand Down

0 comments on commit 542bd6a

Please sign in to comment.