Skip to content

Commit

Permalink
⬆️ update to pybind11>=2.12 (#367)
Browse files Browse the repository at this point in the history
## 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>
  • Loading branch information
burgholzer committed Apr 12, 2024
1 parent 49b4983 commit d1bcc8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion noxfile.py
Expand Up @@ -19,7 +19,7 @@
BUILD_REQUIREMENTS = [
"scikit-build-core[pyproject]>=0.8.1",
"setuptools_scm>=7",
"pybind11>=2.11",
"pybind11>=2.12",
]

if os.environ.get("CI", None):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
requires = ["scikit-build-core>=0.8.1", "setuptools-scm>=7", "pybind11>=2.11"]
requires = ["scikit-build-core>=0.8.1", "setuptools-scm>=7", "pybind11>=2.12"]
build-backend = "scikit_build_core.build"

[project]
Expand Down
2 changes: 1 addition & 1 deletion test/python/constraints.txt
@@ -1,5 +1,5 @@
scikit-build-core==0.8.1
setuptools-scm==7.0.0
pybind11==2.11.0
pybind11==2.12.0
pytest==7.0.0
qiskit==1.0.0

0 comments on commit d1bcc8f

Please sign in to comment.