quantumlib / Cirq

A Python framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.
Apache License 2.0
4.23k stars 1.01k forks source link

Fix CI failure of Contract-a-Grid-Circuit.ipynb on Python 3.12 #6590

Open pavoljuhas opened 4 months ago

pavoljuhas commented 4 months ago

Description of the issue

The test_notebooks_against_cirq_head[.../quimb/Contract-a-Grid-Circuit.ipynb] fails mysteriously on the CI after bumping up requirements for compatibility with Python 3.12, but passes without a problem on a local Linux workstation. To unblock the Python 3.12 compatibility the Contract-a-Grid-Circuit.ipynb is skipped in tests as of #6516.

This goal of this issue is to re-enable the notebook test and fix its failure on the CI runners.

How to reproduce the issue

$ check/pytest -s -n 0 -m slow dev_tools/notebooks/notebook_test.py -k Contract-a-Grid-Circuit

Cirq version

1.4.0.dev at 5a3cd556b2fe72c2afb2649b8f865a4286e2fa51 of #6516

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days