diff --git a/doc/install/dependencies.rst b/doc/install/dependencies.rst index 988839114bae..da95c8afcffd 100644 --- a/doc/install/dependencies.rst +++ b/doc/install/dependencies.rst @@ -232,7 +232,7 @@ means that the dependencies must be explicitly installed, either by :ref:`creati - `ninja `_ (>= 1.8.2). This may be available in your package manager or bundled with Meson, but may be installed via ``pip`` if otherwise not available. -- `PyBind11 `_ (>= 2.6). Used to connect C/C++ code +- `PyBind11 `_ (>= 2.13). Used to connect C/C++ code with Python. - `setuptools_scm `_ (>= 7). Used to update the reported ``mpl.__version__`` based on the current git commit. diff --git a/environment.yml b/environment.yml index b5bc3255122c..af2bd1a5829e 100644 --- a/environment.yml +++ b/environment.yml @@ -16,7 +16,7 @@ dependencies: - fonttools>=4.22.0 - importlib-resources>=3.2.0 - kiwisolver>=1.3.1 - - pybind11>=2.6.0 + - pybind11>=2.13.0 - meson-python>=0.13.1 - numpy>=1.23 - pillow>=8 diff --git a/meson.build b/meson.build index c022becfd9d9..ef2872803e15 100644 --- a/meson.build +++ b/meson.build @@ -36,7 +36,7 @@ py_mod = import('python') py3 = py_mod.find_installation(pure: false) py3_dep = py3.dependency() -pybind11_dep = dependency('pybind11', version: '>=2.6') +pybind11_dep = dependency('pybind11', version: '>=2.13') subdir('extern') subdir('src') diff --git a/pyproject.toml b/pyproject.toml index cd0a5c039758..0662a1a32d2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ requires-python = ">=3.10" # Should be a copy of the build dependencies below. dev = [ "meson-python>=0.13.1", - "pybind11>=2.6,!=2.13.3", + "pybind11>=2.13,!=2.13.3", "setuptools_scm>=7", # Not required by us but setuptools_scm without a version, cso _if_ # installed, then setuptools_scm 8 requires at least this version. @@ -71,7 +71,7 @@ build-backend = "mesonpy" # Also keep in sync with optional dependencies above. requires = [ "meson-python>=0.13.1", - "pybind11>=2.6,!=2.13.3", + "pybind11>=2.13,!=2.13.3", "setuptools_scm>=7", ]