Partly fix #1008 and #1024: update dependencies and environment files for NumPy 2#1055
Merged
Partly fix #1008 and #1024: update dependencies and environment files for NumPy 2#1055
Conversation
Cirq-core needs to be version 1.5 or higher to support NumPy 2.
This is the result of running the pip-compile script
I'm not sure why my local computer paths ended up in the file.
dstrain115
approved these changes
Jun 2, 2025
| # via -r deps/resource_estimates_runtime.txt | ||
| # via | ||
| # -r deps/resource_estimates_runtime.txt | ||
| # -r deps/resource_estimates_runtime.txt |
Contributor
There was a problem hiding this comment.
Why are all these comments repeated?
Contributor
Author
There was a problem hiding this comment.
Why are all these comments repeated?
Not sure, since this was auto generated. I can delete them. Another commit coming up in a moment.
Cirq and NumPy need to be versions that are compatible with NumPy 1, not the highest possible versions.
These are the output of running `re-pip-compile-in-docker.sh`.
This was referenced Jun 4, 2025
Closed
mhucka
added a commit
to mhucka/OpenFermion
that referenced
this pull request
Sep 25, 2025
…rt NumPy 2 (quantumlib#1057) Update some files to use constructs compatible with NumPy 2. A separate PR (quantumlib#1055) updates the requirements files & dependencies for NumPy 2.
mhucka
added a commit
to mhucka/OpenFermion
that referenced
this pull request
Sep 25, 2025
…nd environment files for NumPy 2 (quantumlib#1055) This updates the minimum version of NumPy to 2, and cirq-core to 1.5 (the latter is needed to support NumPy 2).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the minimum version of NumPy to 2, and cirq-core to 1.5 (the latter is needed to support NumPy 2).