Skip to content

Constrain pip to install NumPy < 2.0#239

Closed
mhucka wants to merge 1 commit into
quantumlib:mainfrom
mhucka:mh-fix-work-around-failure
Closed

Constrain pip to install NumPy < 2.0#239
mhucka wants to merge 1 commit into
quantumlib:mainfrom
mhucka:mh-fix-work-around-failure

Conversation

@mhucka

@mhucka mhucka commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

The latest Cirq work with NumPy 2.0 and no longer constrains the NumPy version like it did before, but Unitary does not seem to work with NumPy 2, so we need to tell pip not to install it.

The latest Cirq work with NumPy 2.0 and no longer constrains the NumPy
version like it did before, but Unitary does not seem to work with NumPy
2, so we need to tell pip not to install it.
@dstrain115

Copy link
Copy Markdown
Collaborator

This was fixed in #243. Running all tests in numpy 2.2.6 seems to work fine now.

@dstrain115 dstrain115 closed this Aug 6, 2025
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