Skip to content

Commit 928633b

Browse files
[mlir][python] Update minimal version of pybind11 to 2.10.
This PR updates the minimal required version of pybind11 from 2.9.0 to 2.10.0. New new version is almost 2.5 years old, which is half a year less than the previous version. This change is necessary to support the changes introduced in #115307, which does not compile with pybind11 v.2.9. Signed-off-by: Ingo Müller <[email protected]>
1 parent ef20644 commit 928633b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mlir/cmake/modules/MLIRDetectPythonEnv.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ macro(mlir_configure_python_dev_packages)
2525
message(STATUS "Found python libraries: ${Python3_LIBRARIES}")
2626
message(STATUS "Found numpy v${Python3_NumPy_VERSION}: ${Python3_NumPy_INCLUDE_DIRS}")
2727
mlir_detect_pybind11_install()
28-
find_package(pybind11 2.9 CONFIG REQUIRED)
28+
find_package(pybind11 2.10 CONFIG REQUIRED)
2929
message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIR}")
3030
message(STATUS "Python prefix = '${PYTHON_MODULE_PREFIX}', "
3131
"suffix = '${PYTHON_MODULE_SUFFIX}', "

mlir/python/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
numpy>=1.19.5, <=2.1.2
2-
pybind11>=2.9.0, <=2.13.6
2+
pybind11>=2.10.0, <=2.13.6
33
PyYAML>=5.4.0, <=6.0.1
44
ml_dtypes>=0.1.0, <=0.5.0 # provides several NumPy dtype extensions, including the bf16

0 commit comments

Comments
 (0)