quantumlib / Cirq

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

reproducible failure of _compat_test.py #6383

Closed pavoljuhas closed 9 months ago

pavoljuhas commented 9 months ago

Description of the issue

How to reproduce the issue

Setup development environment for Python 3.9.16 and run

$ check/pytest -n 3 --durations=20 --randomly-seed=176322568 --ignore=cirq-core/cirq/contrib

Strangely when pytest is run only on cirq-core/cirq/_compat_test.py it is a pass. There seems to be some interference with other tests.

Cirq version

1.4.0.dev at 3161d30e171f1373c2930c8605f1e2af4ebd8a88 The failure shows for the Pytest MacOS (3.9) CI check in #6340.

pavoljuhas commented 9 months ago

This was fixed by #6374 and by the merge 011f3fb71d3e9f008ce48f4a204e3cedfc3cd569 in #6340.