diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 47e6ddff802e..f73fde457be3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -266,7 +266,7 @@ jobs: python -m pip install --upgrade $PRE \ 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \ packaging pillow 'pyparsing!=3.1.0' python-dateutil setuptools-scm \ - 'meson-python>=0.13.1' 'pybind11>=2.6' \ + 'meson-python>=0.13.1' 'pybind11>=2.13.2' \ -r requirements/testing/all.txt \ ${{ matrix.extra-requirements }} diff --git a/doc/install/dependencies.rst b/doc/install/dependencies.rst index da95c8afcffd..ea1c6787b52b 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.13). Used to connect C/C++ code +- `PyBind11 `_ (>= 2.13.2). 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 af2bd1a5829e..490e46a939b3 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.13.0 + - pybind11>=2.13.2 - meson-python>=0.13.1 - numpy>=1.23 - pillow>=8 diff --git a/meson.build b/meson.build index ef2872803e15..a50f0b8f743a 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.13') +pybind11_dep = dependency('pybind11', version: '>=2.13.2') subdir('extern') subdir('src') diff --git a/pyproject.toml b/pyproject.toml index 0662a1a32d2d..48a174731440 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.13,!=2.13.3", + "pybind11>=2.13.2,!=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.13,!=2.13.3", + "pybind11>=2.13.2,!=2.13.3", "setuptools_scm>=7", ] diff --git a/requirements/dev/build-requirements.txt b/requirements/dev/build-requirements.txt index b5cb6acdb279..4d2a098c3c4f 100644 --- a/requirements/dev/build-requirements.txt +++ b/requirements/dev/build-requirements.txt @@ -1,3 +1,3 @@ -pybind11!=2.13.3 +pybind11>=2.13.2,!=2.13.3 meson-python setuptools-scm