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

build: add numpy2 support #47

Merged
merged 1 commit into from
Jun 17, 2024
Merged

build: add numpy2 support #47

merged 1 commit into from
Jun 17, 2024

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Jun 16, 2024

Identified (just 2) necessary code changes with the NPY201 ruff rule.

Gruut is the only dependency that doesn't support numpy2 yet, so it won't work right away (opened rhasspy/gruut#48).

NB: At build time numpy>=2.0.0 should be required to be able to build wheels compatible with both numpy1+2:
https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling

Identified necessary code changes with the NPY201 ruff rule. Gruut is the only
dependency that doesn't support numpy2 yet.

NB: At build time numpy>=2.0.0 should be required to be able to build wheels
compatible with both numpy1+2:
https://numpy.org/devdocs/dev/depending_on_numpy.html#numpy-2-abi-handling
@eginhard eginhard merged commit 81ac7ab into dev Jun 17, 2024
49 checks passed
@eginhard eginhard deleted the numpy2 branch June 17, 2024 07:48
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.

2 participants