8000 fix: numpy 2.0 compatibility by davecwright3 · Pull Request #60 · astrolamb/ceffyl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: numpy 2.0 compatibility #60

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

Merged
merged 3 commits into from
May 29, 2025

Conversation

davecwright3
Copy link
Contributor
@davecwright3 davecwright3 commented May 29, 2025
  • Removes unnecessary build requirements now that we don't have to compile any C
  • Adds NumPy to runtime dependencies
  • Switched from np.unicode_ to np.str_. It was an alias of str_ to begin with, and was deprecated in NumPy 2.0. This change is backward compatible with earlier NumPy versions.

The rest of the code-base was checked for NumPy 2.0 compatibility issues with

ruff check --select="NPY201"

and passed.

@astrolamb astrolamb merged commit 22cff7e into astrolamb:main May 29, 2025
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
0