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 2 incompatiblity #137

Open
marscher opened this issue Oct 16, 2024 · 2 comments
Open

Numpy 2 incompatiblity #137

marscher opened this issue Oct 16, 2024 · 2 comments

Comments

@marscher
Copy link
Contributor

A new printing behaviour has been enabled in Numpy 2.0 which leads to errors in the edit widget.

[np.int64(42), np.int64(23), np.int64(12)]

used to be

[42, 23, 12]

As these strings are interpreted using eval (which should probably also avoided), the creation of objects fails (There is no numpy in the namespace).

Also there is some trouble with Sympy, which cannot handle the printing behaviour which includes the complete types.

@CagtayFabry
Copy link
Member

Can you link to the code where this happens? @marscher

@marscher
Copy link
Contributor Author

fixed by #139

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