diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ef811b1..3422b808 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ if(BUILD_PYTHON) FetchContent_Declare( pybind11 GIT_REPOSITORY https://github.com/pybind/pybind11 - GIT_TAG v2.11.1 + GIT_TAG v2.13.6 ) endif(BUILD_PYTHON) diff --git a/doc/changelog.md b/doc/changelog.md index 137a8416..7cba17e8 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -6,6 +6,8 @@ To be released at a future time. Description +- Bump pybind11 version number to v2.13.6 to avoid Python + client bug - Add missing header file to scalarfield.h - Fix a segfault in the dataset destructor - Update supported Python versions to 3.10, 3.11, and 3.12 @@ -17,7 +19,13 @@ Description - Reenable move semantics and fix compiler warnings. Detailed Notes -- When including scalarfield.h into an application, +- The older version of pybind11 has a python array descriptor + which was incompatibile with numpy 2.x, leading to a bug + wehn using the python client. This bumps the pybind11 + version to add support for numpy 2.x while retaining + support for numpy 1.x + ([PR531](https://github.com/CrayLabs/SmartRedis/pull/531)) +- When including scalarfield.h into an application, MetadataBuffer was never defined. Add an explicit include to the header file to ensure that applications can build. ([PR530](https://github.com/CrayLabs/SmartRedis/pull/530)) diff --git a/setup.cfg b/setup.cfg index 238eae8a..61accbf2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -32,7 +32,7 @@ setup_requires = setuptools>=42 include_package_data = True install_requires = - numpy>=1.18.2,<2 + numpy>=1.18.2 python_requires = >=3.10,<3.13