From 7a671be6c3d2ed8fbf953d056180ce213eedd867 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 30 Aug 2023 19:55:16 -0400 Subject: [PATCH] chore: update pybind11 (#878) --- CMakeLists.txt | 2 +- extern/pybind11 | 2 +- include/bh_python/pybind11.hpp | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed02fc08..3478fc29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.10...3.19) +cmake_minimum_required(VERSION 3.10...3.26) project(BOOST_HISTOGRAM LANGUAGES CXX) # Version is added later diff --git a/extern/pybind11 b/extern/pybind11 index aa304c9c..8a099e44 160000 --- a/extern/pybind11 +++ b/extern/pybind11 @@ -1 +1 @@ -Subproject commit aa304c9c7d725ffb9d10af08a3b34cb372307020 +Subproject commit 8a099e44b3d5f85b20f05828d919d2332a8de841 diff --git a/include/bh_python/pybind11.hpp b/include/bh_python/pybind11.hpp index c46e9be9..597343b8 100644 --- a/include/bh_python/pybind11.hpp +++ b/include/bh_python/pybind11.hpp @@ -9,6 +9,9 @@ #pragma once +// TODO: restructure metadata_t to hold a py::dict instead of subclass it, add locks +#define PYBIND11_NO_ASSERT_GIL_HELD_INCREF_DECREF + #include #include #include