Skip to content

Commit d1bcc8f

Browse files
authored
⬆️ update to pybind11>=2.12 (#367)
## Description This PR updates the minimum `pybind11` version to `2.12`, which was released a couple weeks ago and brings several big improvements, including compatibility with Numpy 2.0 which will be released soon. ## Checklist: <!--- This checklist serves as a reminder of a couple of things that ensure your pull request will be merged swiftly. --> - [x] The pull request only contains commits that are related to it. - [x] I have added appropriate tests and documentation. - [x] I have made sure that all CI jobs on GitHub pass. - [x] The pull request introduces no new warnings and follows the project's style guidelines. Signed-off-by: burgholzer <burgholzer@me.com>
1 parent 49b4983 commit d1bcc8f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
BUILD_REQUIREMENTS = [
2020
"scikit-build-core[pyproject]>=0.8.1",
2121
"setuptools_scm>=7",
22-
"pybind11>=2.11",
22+
"pybind11>=2.12",
2323
]
2424

2525
if os.environ.get("CI", None):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["scikit-build-core>=0.8.1", "setuptools-scm>=7", "pybind11>=2.11"]
2+
requires = ["scikit-build-core>=0.8.1", "setuptools-scm>=7", "pybind11>=2.12"]
33
build-backend = "scikit_build_core.build"
44

55
[project]

test/python/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
scikit-build-core==0.8.1
22
setuptools-scm==7.0.0
3-
pybind11==2.11.0
3+
pybind11==2.12.0
44
pytest==7.0.0
55
qiskit==1.0.0

0 commit comments

Comments
 (0)