-
-
Notifications
You must be signed in to change notification settings - Fork 289
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
pandera not compatible with numpy 2.0 #1656
Labels
bug
Something isn't working
Comments
hi @ostetzer I see numpy 2 is finally in beta as a release candidate! Can you share the schema that's raising this error? |
As mentioned above, the error occurs already during import (import numpy_engine, pandas_engine) |
This was referenced Jun 17, 2024
khaeru
added a commit
to khaeru/genno
that referenced
this issue
Jun 19, 2024
- Convert AttributeError to ImportError. - Use pytest.importorskip() per the ImportError. - Create genno.testing.MARK and apply to affected tests.
khaeru
added a commit
to khaeru/genno
that referenced
this issue
Jun 19, 2024
- Convert AttributeError to ImportError. - Use pytest.importorskip() per the ImportError. - Create genno.testing.MARK and apply to affected tests.
khaeru
added a commit
to khaeru/genno
that referenced
this issue
Jun 19, 2024
- Convert AttributeError to ImportError. - Use pytest.importorskip() per the ImportError. - Create genno.testing.MARK and apply to affected tests.
khaeru
added a commit
to khaeru/genno
that referenced
this issue
Jun 19, 2024
- Convert AttributeError to ImportError. - Use pytest.importorskip() per the ImportError. - Create genno.testing.MARK and apply to affected tests.
khaeru
added a commit
to khaeru/genno
that referenced
this issue
Jun 19, 2024
- Convert AttributeError to ImportError. - Use pytest.importorskip() per the ImportError. - Create genno.testing.MARK and apply to affected tests.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pandera seems to be incompatible with the neweset version of numpy 2.0:
When defining a simple class based on DataFrameModel, the following error occurs duing import:
...
from pandera.engines import numpy_engine, pandas_engine
...
AttributeError:
np.string_
was removed in the NumPy 2.0 release. Usenp.bytes_
instead.. Did you mean: 'strings'?A clear and concise description of what the bug is.
Expected behavior
Pandera should work with newest numpy version 2.0
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: