Skip to content

Update NumPy APIs that will be removed in numpy-2.0 #6693

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

Merged
merged 4 commits into from
Aug 2, 2024

Conversation

pavoljuhas
Copy link
Collaborator

@pavoljuhas pavoljuhas commented Jul 31, 2024

Executed ruff check --select NPY201 --fix ./

Incorporate fix from exported cirq sources, cl/658064952.

Ref: https://numpy.org/doc/stable/numpy_2_0_migration_guide.html

@CirqBot CirqBot added the size: S 10< lines changed <50 label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.82%. Comparing base (978b5e3) to head (5eed99f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6693   +/-   ##
=======================================
  Coverage   97.82%   97.82%           
=======================================
  Files        1074     1074           
  Lines       92191    92187    -4     
=======================================
- Hits        90189    90186    -3     
+ Misses       2002     2001    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pavoljuhas pavoljuhas marked this pull request as ready for review July 31, 2024 20:10
@pavoljuhas pavoljuhas requested review from vtomole and a team as code owners July 31, 2024 20:10
@pavoljuhas pavoljuhas enabled auto-merge (squash) August 2, 2024 20:35
@pavoljuhas pavoljuhas merged commit c6b69a2 into quantumlib:main Aug 2, 2024
34 checks passed
@pavoljuhas pavoljuhas deleted the prepare-for-numpy-2.0 branch August 2, 2024 20:50
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
Executed  ruff check --select NPY201 --fix ./

Incorporate fix from exported cirq sources, cl/658064952.

Ref: https://numpy.org/doc/stable/numpy_2_0_migration_guide.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants