Skip to content

Conversation

pavoljuhas
Copy link
Collaborator

Problem: test_isolated_packages may run clashing parallel builds
of a local cirq_core wheel.

Solution: Run pip-install with the --no-clean option so parallel
builds do not delete active files.

Also invoke isolated_packages_test.py with --enable-slow-tests in CI
to include non-slow tests if ever added to that file.

pavoljuhas added 2 commits May 9, 2024 17:54
Problem: `test_isolated_packages` may run clashing parallel builds
of a local `cirq_core` wheel.

Solution: Run pip-install with the `--no-clean` option so parallel
builds do not delete active files.
Include standard tests as well if ever added to that file.
@pavoljuhas pavoljuhas requested review from vtomole, cduck and a team as code owners May 10, 2024 01:38
@pavoljuhas pavoljuhas requested a review from viathor May 10, 2024 01:38
@CirqBot CirqBot added the Size: XS <10 lines changed label May 10, 2024
@pavoljuhas pavoljuhas enabled auto-merge (squash) May 10, 2024 22:22
@pavoljuhas pavoljuhas merged commit 3160056 into quantumlib:main May 10, 2024
@pavoljuhas pavoljuhas deleted the deflake-test_isolated_packages branch May 10, 2024 23:24
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request May 15, 2024
pavoljuhas added a commit to pavoljuhas/Cirq that referenced this pull request May 16, 2024
pavoljuhas added a commit that referenced this pull request May 16, 2024
Problem: `test_isolated_packages.py` is still flaky and can fail on
parallel builds of a local `cirq_core` wheel.

Solution: Use per-worker copy of the cirq-core sources so that parallel
builds do not have conflicting build files.

Follow-up to #6593
jselig-rigetti pushed a commit to jselig-rigetti/Cirq that referenced this pull request May 28, 2024
Problem: `test_isolated_packages` may run clashing parallel builds
of a local `cirq_core` wheel.

Solution: Run pip-install with the `--no-clean` option so parallel
builds do not delete active files.

Also invoke isolated_packages_test.py with `--enable-slow-tests` in CI
to include non-slow tests if ever added to that file.
jselig-rigetti pushed a commit to jselig-rigetti/Cirq that referenced this pull request May 28, 2024
Problem: `test_isolated_packages.py` is still flaky and can fail on
parallel builds of a local `cirq_core` wheel.

Solution: Use per-worker copy of the cirq-core sources so that parallel
builds do not have conflicting build files.

Follow-up to quantumlib#6593
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
Problem: `test_isolated_packages` may run clashing parallel builds
of a local `cirq_core` wheel.

Solution: Run pip-install with the `--no-clean` option so parallel
builds do not delete active files.

Also invoke isolated_packages_test.py with `--enable-slow-tests` in CI
to include non-slow tests if ever added to that file.
BichengYing pushed a commit to BichengYing/Cirq that referenced this pull request Jun 20, 2025
Problem: `test_isolated_packages.py` is still flaky and can fail on
parallel builds of a local `cirq_core` wheel.

Solution: Use per-worker copy of the cirq-core sources so that parallel
builds do not have conflicting build files.

Follow-up to quantumlib#6593
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: XS <10 lines changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants