Skip to content

Partly fix #1008 and #1024: update dependencies and environment files for NumPy 2#1055

Merged
mhucka merged 7 commits intomasterfrom
mh-update-deps-np2
Jun 4, 2025
Merged

Partly fix #1008 and #1024: update dependencies and environment files for NumPy 2#1055
mhucka merged 7 commits intomasterfrom
mh-update-deps-np2

Conversation

@mhucka
Copy link
Copy Markdown
Contributor

@mhucka mhucka commented Jun 2, 2025

This updates the minimum version of NumPy to 2, and cirq-core to 1.5 (the latter is needed to support NumPy 2).

mhucka added 2 commits June 2, 2025 14:32
Cirq-core needs to be version 1.5 or higher to support NumPy 2.
This is the result of running the pip-compile script
@mhucka mhucka requested review from dstrain115 and ncrubin June 2, 2025 21:43
I'm not sure why my local computer paths ended up in the file.
Comment thread dev_tools/requirements/envs/dev.env.txt Outdated
# via -r deps/resource_estimates_runtime.txt
# via
# -r deps/resource_estimates_runtime.txt
# -r deps/resource_estimates_runtime.txt
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are all these comments repeated?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are all these comments repeated?

Not sure, since this was auto generated. I can delete them. Another commit coming up in a moment.

@mhucka mhucka changed the title Update dependencies and environment files for NumPy 2. Partly fix #1008: update dependencies and environment files for NumPy 2 Jun 3, 2025
@mhucka mhucka changed the title Partly fix #1008: update dependencies and environment files for NumPy 2 Partly fix #1008 and #1024: update dependencies and environment files for NumPy 2 Jun 3, 2025
mhucka added 3 commits June 3, 2025 13:57
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`.
@mhucka mhucka added this pull request to the merge queue Jun 4, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Jun 4, 2025
Update some files to use constructs compatible with NumPy 2.

A separate PR (#1055) updates the requirements files & dependencies for
NumPy 2.
Merged via the queue into master with commit b80f430 Jun 4, 2025
26 checks passed
@mhucka mhucka deleted the mh-update-deps-np2 branch June 4, 2025 17:39
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).
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