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

Numpy 1.24 breaks builtin type aliases #104

Closed
marvinvanaalst opened this issue Dec 19, 2022 · 1 comment
Closed

Numpy 1.24 breaks builtin type aliases #104

marvinvanaalst opened this issue Dec 19, 2022 · 1 comment

Comments

@marvinvanaalst
Copy link

marvinvanaalst commented Dec 19, 2022

The numpy people marked aliases of builtin types like np.int as deprecated in version 1.20.0. They are effectively deprecated with version 1.24.0 which was just released.

This leads to a bunch of AttributeErrors, like

AttributeError: module 'numpy' has no attribute 'int'

Your requirements.txt states compatability for numpy >=1.7 and thus causes CI to crash on this (but that's on the numpy folks).

The corresponding pull request is #105 .

This issue is related to cobra issue 1305

@vineetbansal
Copy link
Contributor

v0.6.2.post9 fixes this.Thanks for bringing this to our attention!

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

2 participants