Skip to content

Constrain numpy version to be less than 2.x #878

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mhucka
Copy link
Member

@mhucka mhucka commented Apr 14, 2025

Although the latest release of Cirq is compatible with NumPy 2, other
dependencies for TFQ are not, and this leads to failures at run-time.
For now, tell pip not to install NumPy 2.

Although the latest release of Cirq is compatible with NumPy 2, other
dependencies for TFQ are not, and this leads to failures at run-time.
For now, tell `pip` not to install NumPy 2.
@mhucka mhucka marked this pull request as ready for review April 14, 2025 03:14
@mhucka mhucka requested a review from MichaelBroughton April 14, 2025 03:14
@mhucka mhucka enabled auto-merge (squash) April 18, 2025 21:18
@mhucka mhucka disabled auto-merge April 18, 2025 21:18
Copy link
Collaborator

@MichaelBroughton MichaelBroughton left a comment

Choose a reason for hiding this comment

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

Does this cause a breakage in the pip package too ? If so we might want to put this constraint there as well ?

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