[mlir][python] Bump min pybind11 version to 2.9.0

2.9.0 was released on December 28, 2021, and some following changes
require at least this version.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D150247
This commit is contained in:
Rahul Kayaith
2023-05-23 13:40:00 -04:00
parent 8fc0dcf036
commit 478e392c0c
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ macro(mlir_configure_python_dev_packages)
message(STATUS "Found python libraries: ${Python3_LIBRARIES}")
message(STATUS "Found numpy v${Python3_NumPy_VERSION}: ${Python3_NumPy_INCLUDE_DIRS}")
mlir_detect_pybind11_install()
find_package(pybind11 2.8 CONFIG REQUIRED)
find_package(pybind11 2.9 CONFIG REQUIRED)
message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIR}")
message(STATUS "Python prefix = '${PYTHON_MODULE_PREFIX}', "
"suffix = '${PYTHON_MODULE_SUFFIX}', "

View File

@@ -1,4 +1,4 @@
numpy>=1.19.5, <=1.23.5
pybind11>=2.8.0, <=2.10.3
pybind11>=2.9.0, <=2.10.3
PyYAML>= 5.3.1, <=6.0
dataclasses>=0.6, <=0.8