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

pin Numpy version in requirements.txt #2350

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

oskooi
Copy link
Collaborator

@oskooi oskooi commented Dec 20, 2022

Fixes a recent failure in the CI for Python 3.10 related to Numpy 1.24 which raises a TypeError in ufuncs due to an expired deprecation.

@stevengj
Copy link
Collaborator

Can we fix it to work with numpy 1.24? What Meep code is triggering the error?

@stevengj
Copy link
Collaborator

stevengj commented Dec 20, 2022

We can merge this for now as a stopgap, but we should file I have filed an issue to fix compatibility with the latest numpy version.

@stevengj stevengj merged commit 5d423f3 into NanoComp:master Dec 20, 2022
@oskooi oskooi deleted the numpy_version_pin branch December 20, 2022 19:51
@oskooi
Copy link
Collaborator Author

oskooi commented Dec 20, 2022

Can we fix it to work with numpy 1.24? What Meep code is triggering the error?

This PR was indeed a stopgap measure to get the CI passing.

However, this PR is actually not necessary given #2348, #2349, and #2351. We can verify this with a new PR that undoes the change in this PR after those other three PRs are all merged.

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