-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: Use build-system pybind11 over Git submodule #313
build: Use build-system pybind11 over Git submodule #313
Conversation
Why do you have pybind11 and numpy as build requirements? Pybind11 doesn't require numpy at build time. That's one of it's key selling points, actually. |
I don't see any usage of |
Error on my part as I didn't do a
I'll fix this now. Thanks for pointing this out. |
d8e069d
to
9cbe78c
Compare
Ah yes, as you point out Line 20 in 28ec47c
|
@@ -2,7 +2,7 @@ | |||
requires = [ | |||
"setuptools>=42", | |||
"setuptools_scm[toml]>=3.4", | |||
"pybind11>=2.6.1", | |||
"pybind11>=2.12.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this isn't really necessary(?) to bump it given that there's already a lower bound here, but I guess signaling this also doesn't hurt.
9cbe78c
to
e6eb88f
Compare
e6eb88f
to
0d9041c
Compare
* Update lower bound on build-system pybind11 to v2.12.0 to add support for compiling for NumPy 2.0. - c.f. https://github.com/pybind/pybind11/releases/tag/v2.12.0 * Remove pybind11 submodule to use build-system instead. fixup
* Add an easy to parse log of the environment used for each test, which is useful for debugging differences between CI jobs seperated in time.
0d9041c
to
5e5bcd7
Compare
As no one has commented yet, I'm going to merge this myself. As always, PRs approved by a single dev can be reverted as needed by the rest of the dev team. |
Resolves #309
For reference, the
pybind11
Git submodule was added in 0f9f8ff by @jpivarski, though as this wasn't part of a PR I'm not sure why the Git submodule approach was used over the otherpybind11
install methods.