From: Rahul Kayaith Date: Tue, 23 May 2023 17:40:00 +0000 (-0400) Subject: [mlir][python] Bump min pybind11 version to 2.9.0 X-Git-Tag: upstream/17.0.6~7500 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=478e392c0ca64043ec633bd4f095e2f9928dd690;p=platform%2Fupstream%2Fllvm.git [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 --- diff --git a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake index 9c89665..71b2ab9 100644 --- a/mlir/cmake/modules/MLIRDetectPythonEnv.cmake +++ b/mlir/cmake/modules/MLIRDetectPythonEnv.cmake @@ -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}', " diff --git a/mlir/python/requirements.txt b/mlir/python/requirements.txt index 16a3dd3..7671d33 100644 --- a/mlir/python/requirements.txt +++ b/mlir/python/requirements.txt @@ -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