Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Increase required version for pybind11.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Jan 2020 22:54:52 +0000 (23:54 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 24 Jan 2020 22:58:42 +0000 (23:58 +0100)
CMakeLists.txt
setup.py

index 0669a57..26f1be5 100644 (file)
@@ -803,8 +803,8 @@ if((NOT DEFINED enable_python) OR enable_python)
     else()
       find_package(pybind11 CONFIG)
       message(STATUS "Pybind11 version: ${pybind11_VERSION}")
-      if (pybind11_VERSION VERSION_LESS 2.2)
-        message(STATUS "SimGrid needs at least v2.2 of pybind11. Disabling the Python bindings.")
+      if (pybind11_VERSION VERSION_LESS 2.4)
+        message(STATUS "SimGrid needs at least v2.4 of pybind11. Disabling the Python bindings.")
         set(pybind11_FOUND OFF)
       endif()
     endif()
index bd48de0..f6bf29e 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -95,8 +95,8 @@ setup(
                       "sudo apt install cmake libboost-dev pybind11-dev g++ gcc"),
     ext_modules=[CMakeExtension('simgrid')],
     cmdclass=dict(build_ext=CMakeBuild),
-    install_requires=['pybind11>=2.3'],
-    setup_requires=['pybind11>=2.3'],
+    install_requires=['pybind11>=2.4'],
+    setup_requires=['pybind11>=2.4'],
     zip_safe=False,
     classifiers=[
         "Development Status :: 4 - Beta",