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

Fix NumPy 2.0 Cython support #320

Merged
merged 4 commits into from
Jun 18, 2024
Merged

Fix NumPy 2.0 Cython support #320

merged 4 commits into from
Jun 18, 2024

Conversation

dhermes
Copy link
Owner

@dhermes dhermes commented Jun 18, 2024

H/T to cython/cython#6249 (comment)

Thanks @scoder


Follow up to #319

@@ -173,7 +173,7 @@ def install_bezier(session, debug=False, env=None):
@nox.parametrize("check", [True, False])
def update_generated(session, check):
# Install all dependencies.
session.install(DEPS["Cython"])
session.install(DEPS["Cython"], DEPS["numpy"])
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the key fix! I wasn't installing ANY version of numpy in this virtualenv

@dhermes dhermes merged commit 6b5737c into main Jun 18, 2024
11 checks passed
@dhermes dhermes deleted the dhermes/numpy-2.0-part2 branch June 18, 2024 20:31
This was referenced Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant