Skip to content

Commit

Permalink
Update minimum pybind11 to 2.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed Oct 25, 2024
1 parent 3770dfe commit 04049c6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion doc/install/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ means that the dependencies must be explicitly installed, either by :ref:`creati
- `ninja <https://ninja-build.org/>`_ (>= 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 <https://pypi.org/project/pybind11/>`_ (>= 2.13). Used to connect C/C++ code
- `PyBind11 <https://pypi.org/project/pybind11/>`_ (>= 2.13.2). Used to connect C/C++ code
with Python.
- `setuptools_scm <https://pypi.org/project/setuptools-scm/>`_ (>= 7). Used to
update the reported ``mpl.__version__`` based on the current git commit.
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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",
]

Expand Down
2 changes: 1 addition & 1 deletion requirements/dev/build-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pybind11!=2.13.3
pybind11>=2.13.2,!=2.13.3
meson-python
setuptools-scm

0 comments on commit 04049c6

Please sign in to comment.