Skip to content
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

Make NumPy dependency optional #6215

Merged
merged 3 commits into from
Feb 11, 2023
Merged

Conversation

Mytherin
Copy link
Collaborator

Fixes #657

As actually mentioned in that issue - as we use pybind11 now we no longer need to explicitly depend on NumPy.

While it is just nice to get rid of the dependency - it also fixes this odd issue we are running into in the CI.

Expected 192 from C header, got 216 from PyObject

By not explicitly adding NumPy includes and depending on NumPy this issue seems to go away.

@Mytherin Mytherin merged commit b325957 into duckdb:master Feb 11, 2023
@Mytherin Mytherin deleted the pythonlazyload branch February 16, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optional NumPy dependency
1 participant