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

Compatibility with future NumPy releases: numpy.compat will be removed #10

Open
tovrstra opened this issue Oct 6, 2024 · 0 comments
Open

Comments

@tovrstra
Copy link

tovrstra commented Oct 6, 2024

The format.py module uses numpy.compat, which is deprecated and slated for removal in future NumPy versions:

from numpy.compat import (

On recent NumPy versions (>= 2.0.0), one gets the following warning when numpy.compat is imported:

DeprecationWarning: `np.compat`, which was used during the Python 2 to 3 transition, is deprecated since 1.26.0, and will be removed

More details can be found here:

https://numpy.org/neps/nep-0052-python-api-cleanup.html

It is not clear to me from precisely which version np.compat will become unavailable.

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

No branches or pull requests

1 participant