Skip to content
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

isolated_packages_test.py fails at HEAD #6092

Closed
NoureldinYosri opened this issue May 12, 2023 · 3 comments
Closed

isolated_packages_test.py fails at HEAD #6092

NoureldinYosri opened this issue May 12, 2023 · 3 comments
Labels
kind/bug-report Something doesn't seem to work. triage/accepted there is consensus amongst maintainers that this is a real bug or a reasonable feature to add

Comments

@NoureldinYosri
Copy link
Collaborator

NoureldinYosri commented May 12, 2023

Description of the issue
isolated_packages_test.py fails at HEAD. This is blocking new PRs (e.g. #6090 )

How to reproduce the issue
Clone Cirq and run the test

$ git clone https://github.com/quantumlib/Cirq
Cloning into 'Cirq'...
remote: Enumerating objects: 44147, done.
remote: Counting objects: 100% (579/579), done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 44147 (delta 252), reused 451 (delta 186), pack-reused 43568
Receiving objects: 100% (44147/44147), 34.54 MiB | 17.54 MiB/s, done.
Resolving deltas: 100% (35182/35182), done.
$ cd Cirq/
$ pytest -n auto -m slow dev_tools/packaging/isolated_packages_test.py -v -x
test ouput
Please use the pytest.hookimpl(trylast=True) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
  @pytest.mark.trylast
Please use the pytest.hookimpl(trylast=True) decorator instead
 to configure the hooks.
 See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
  @pytest.mark.trylast
=========================================================================================== test session starts ===========================================================================================
cachedir: .pytest_cache
Using --randomly-seed=38182194
configfile: pyproject.toml
plugins: forked-1.6.0, cov-4.0.0, xdist-2.2.1, randomly-3.12.0, anyio-3.6.2, asyncio-0.21.0
asyncio: mode=strict
[gw0] Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
[gw1] Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
[gw2] Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
[gw3] Python 3.10.11 (main, Apr 20 2023, 19:02:41) [GCC 11.2.0]
gw0 [7] / gw1 [7] / gw2 [7] / gw3 [7]
scheduling tests via LoadScheduling

dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-pasqal] 
dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-ionq] 
dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-core] 
dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-web] 
[gw1] [ 14%] PASSED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-web] 
dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-aqt] 
[gw3] [ 28%] PASSED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-ionq] 
[gw0] [ 42%] PASSED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-pasqal] 
dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-rigetti] 
[gw1] [ 57%] PASSED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-aqt] 
[gw0] [ 71%] PASSED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-rigetti] 
[gw2] [ 85%] FAILED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-core] 

================================================================================================ FAILURES =================================================================================================
____________________________________________________________________________________ test_isolated_packages[cirq-core] ____________________________________________________________________________________

cloned_env = <function cloned_env.<locals>.base_env_creator at 0x7fbbf5ad7010>
module = Module(root=PosixPath('cirq-core'), raw_setup={'name': 'cirq-core', 'version': '1.2.0.dev', 'url': 'http://github.com/...rkx~=2.4', 'numpy>=1.16,<1.24', 'pandas', 'sortedcontainers~=2.0', 'scipy', 'sympy', 'typing_extensions>=4.2', 'tqdm'])

    @pytest.mark.slow
    # ensure that no cirq packages are on the PYTHONPATH, this is important, otherwise
    # the "isolation" fails and for example cirq-core would be on the PATH
    @mock.patch.dict(os.environ, {"PYTHONPATH": ""})
    @pytest.mark.parametrize('module', list_modules(), ids=[m.name for m in list_modules()])
    def test_isolated_packages(cloned_env, module):
        env = cloned_env("isolated_packages", *PACKAGES)
    
        if str(module.root) != "cirq-core":
            assert f'cirq-core=={module.version}' in module.install_requires
    
        result = shell_tools.run(
            f"{env}/bin/pip install ./{module.root} ./cirq-core".split(),
            stderr=subprocess.PIPE,
            check=False,
        )
        assert result.returncode == 0, f"Failed to install {module.name}:\n{result.stderr}"
    
        result = shell_tools.run(
            f"{env}/bin/pytest ./{module.root} --ignore ./cirq-core/cirq/contrib".split(),
            capture_output=True,
            check=False,
        )
>       assert result.returncode == 0, f"Failed isolated tests for {module.name}:\n{result.stdout}"
E       AssertionError: Failed isolated tests for cirq-core:
E         ============================= test session starts ==============================
E         platform linux -- Python 3.10.11, pytest-7.3.1, pluggy-1.0.0
E         Using --randomly-seed=3179374315
E         configfile: pyproject.toml
E         plugins: forked-1.6.0, cov-4.0.0, xdist-2.2.1, randomly-3.12.0, asyncio-0.21.0
E         asyncio: mode=strict
E         collected 13046 items
E         
E         cirq-core/cirq/sim/sparse_simulator_test.py ............................ [  0%]
E         ........................................................................ [  0%]
E         ........................................................................ [  1%]
E         ...................                                                      [  1%]
E         cirq-core/cirq/interop/quirk/cells/single_qubit_rotation_cells_test.py . [  1%]
E         ..                                                                       [  1%]
E         cirq-core/cirq/sim/state_vector_test.py ................................ [  1%]
E         ...                                                                      [  1%]
E         cirq-core/cirq/devices/noise_model_test.py ............                  [  1%]
E         cirq-core/cirq/ops/boolean_hamiltonian_test.py ......................... [  2%]
E         ..................................                                       [  2%]
E         cirq-core/cirq/circuits/moment_test.py ................................. [  2%]
E         ...........                                                              [  2%]
E         cirq-core/cirq/transformers/transformer_primitives_test.py ............. [  2%]
E         ....................                                                     [  2%]
E         cirq-core/cirq/ops/tags_test.py ..                                       [  2%]
E         cirq-core/cirq/_import_test.py .                                         [  2%]
E         cirq-core/cirq/protocols/equal_up_to_global_phase_protocol_test.py ..... [  2%]
E                                                                                  [  2%]
E         cirq-core/cirq/devices/device_test.py ....                               [  2%]
E         cirq-core/cirq/ops/random_gate_channel_test.py ............              [  3%]
E         cirq-core/cirq/testing/consistent_decomposition_test.py ..               [  3%]
E         cirq-core/cirq/value/value_equality_attr_test.py ...........             [  3%]
E         cirq-core/cirq/ops/op_tree_test.py ......                                [  3%]
E         cirq-core/cirq/ops/swap_gates_test.py ...........................        [  3%]
E         cirq-core/cirq/ops/clifford_gate_test.py ............................... [  3%]
E         ........................................................................ [  4%]
E         ........................................................................ [  4%]
E         ........................................................................ [  5%]
E         ........................................................................ [  5%]
E         ........................................................................ [  6%]
E         ........................................................................ [  6%]
E         ........................................................................ [  7%]
E         ........................................................................ [  8%]
E         ........................................................................ [  8%]
E         ........................................................................ [  9%]
E         ........................................................................ [  9%]
E         ........................................................................ [ 10%]
E         ........................................................................ [ 10%]
E         ...........................                                              [ 11%]
E         cirq-core/cirq/ops/pauli_gates_test.py ....................              [ 11%]
E         cirq-core/cirq/ops/gateset_test.py ..................................... [ 11%]
E         ........                                                                 [ 11%]
E         cirq-core/cirq/protocols/resolve_parameters_test.py .......              [ 11%]
E         cirq-core/cirq/protocols/act_on_protocol_test.py ......                  [ 11%]
E         cirq-core/cirq/value/product_state_test.py ................              [ 11%]
E         cirq-core/cirq/circuits/_box_drawing_character_data_test.py .            [ 11%]
E         cirq-core/cirq/sim/simulator_base_test.py ...........................    [ 11%]
E         cirq-core/cirq/testing/gate_features_test.py ....                        [ 12%]
E         cirq-core/cirq/ops/common_channels_test.py ............................. [ 12%]
E         ..............................................................           [ 12%]
E         cirq-core/cirq/qis/measures_test.py .................................... [ 12%]
E         ..........                                                               [ 13%]
E         cirq-core/cirq/protocols/pow_protocol_test.py ........                   [ 13%]
E         cirq-core/cirq/value/classical_data_test.py ........                     [ 13%]
E         cirq-core/cirq/testing/deprecation_test.py ..                            [ 13%]
E         cirq-core/cirq/ops/kraus_channel_test.py ..........                      [ 13%]
E         cirq-core/cirq/transformers/optimize_for_target_gateset_test.py ......   [ 13%]
E         cirq-core/cirq/testing/equivalent_repr_eval_test.py ...                  [ 13%]
E         cirq-core/cirq/transformers/routing/mapping_manager_test.py .....        [ 13%]
E         cirq-core/cirq/experiments/t1_decay_experiment_test.py ................  [ 13%]
E         cirq-core/cirq/ops/three_qubit_gates_test.py ........................... [ 13%]
E         ........                                                                 [ 13%]
E         cirq-core/cirq/testing/consistent_specified_has_unitary_test.py ....     [ 13%]
E         cirq-core/cirq/linalg/combinators_test.py .......                        [ 13%]
E         cirq-core/cirq/interop/quirk/cells/qubit_permutation_cells_test.py ..... [ 13%]
E         ..                                                                       [ 13%]
E         cirq-core/cirq/testing/random_circuit_test.py ........................   [ 14%]
E         cirq-core/cirq/testing/repr_pretty_tester_test.py ...                    [ 14%]
E         cirq-core/cirq/qis/states_test.py ...................................... [ 14%]
E         ....................                                                     [ 14%]
E         cirq-core/cirq/protocols/trace_distance_bound_test.py .                  [ 14%]
E         cirq-core/cirq/interop/quirk/cells/swap_cell_test.py ....                [ 14%]
E         cirq-core/cirq/protocols/apply_channel_protocol_test.py .............    [ 14%]
E         cirq-core/cirq/testing/consistent_act_on_test.py .                       [ 14%]
E         cirq-core/cirq/circuits/circuit_test.py ................................ [ 14%]
E         ........................................................................ [ 15%]
E         ........................................................................ [ 16%]
E         ........................................................................ [ 16%]
E         ........................................................................ [ 17%]
E         ........................................................................ [ 17%]
E         ........................................................                 [ 18%]
E         cirq-core/cirq/testing/routing_devices_test.py ......                    [ 18%]
E         cirq-core/cirq/interop/quirk/cells/frequency_space_cells_test.py .       [ 18%]
E         cirq-core/cirq/sim/clifford/stabilizer_simulation_state_test.py ....     [ 18%]
E         cirq-core/cirq/ops/control_values_test.py .............................. [ 18%]
E         ...                                                                      [ 18%]
E         cirq-core/cirq/protocols/decompose_protocol_test.py ..........           [ 18%]
E         cirq-core/cirq/ops/fourier_transform_test.py ..........                  [ 18%]
E         cirq-core/cirq/sim/mux_test.py ........................                  [ 18%]
E         cirq-core/cirq/protocols/approximate_equality_protocol_test.py ......... [ 18%]
E         .......                                                                  [ 18%]
E         cirq-core/cirq/ops/measurement_gate_test.py ............................ [ 19%]
E         ........                                                                 [ 19%]
E         cirq-core/cirq/protocols/has_unitary_protocol_test.py .........          [ 19%]
E         cirq-core/cirq/experiments/xeb_fitting_test.py ...............           [ 19%]
E         cirq-core/cirq/testing/devices_test.py ....                              [ 19%]
E         cirq-core/cirq/work/observable_measurement_data_test.py .............    [ 19%]
E         cirq-core/cirq/testing/order_tester_test.py ......                       [ 19%]
E         cirq-core/cirq/ops/pauli_measurement_gate_test.py ...................... [ 19%]
E         ...........                                                              [ 19%]
E         cirq-core/cirq/experiments/purity_estimation_test.py .                   [ 19%]
E         cirq-core/cirq/ops/pauli_string_phasor_test.py ......................... [ 20%]
E         ........................................................................ [ 20%]
E         ........................................................................ [ 21%]
E         ........................................................................ [ 21%]
E         ........................................................................ [ 22%]
E         ........................................................................ [ 22%]
E         ........................................................................ [ 23%]
E         ........................................................................ [ 23%]
E         ........................................................................ [ 24%]
E         ........................................................................ [ 24%]
E         ....                                                                     [ 25%]
E         cirq-core/cirq/transformers/analytical_decompositions/two_qubit_to_cz_test.py . [ 25%]
E         ........................................................................ [ 25%]
E         ...                                                                      [ 25%]
E         cirq-core/cirq/vis/state_histogram_test.py .....                         [ 25%]
E         cirq-core/cirq/ops/wait_gate_test.py .........                           [ 25%]
E         cirq-core/cirq/work/zeros_sampler_test.py ....                           [ 25%]
E         cirq-core/cirq/devices/unconstrained_device_test.py ..                   [ 25%]
E         cirq-core/cirq/transformers/analytical_decompositions/controlled_gate_decomposition_test.py . [ 25%]
E         .....                                                                    [ 25%]
E         cirq-core/cirq/ops/diagonal_gate_test.py ............................... [ 26%]
E         ....                                                                     [ 26%]
E         cirq-core/cirq/experiments/fidelity_estimation_test.py ................  [ 26%]
E         cirq-core/cirq/work/observable_settings_test.py .......                  [ 26%]
E         cirq-core/cirq/interop/quirk/cells/parse_test.py ........                [ 26%]
E         cirq-core/cirq/experiments/readout_confusion_matrix_test.py ........     [ 26%]
E         cirq-core/cirq/protocols/phase_protocol_test.py .                        [ 26%]
E         cirq-core/cirq/sim/clifford/stabilizer_ch_form_simulation_state_test.py . [ 26%]
E         .....                                                                    [ 26%]
E         cirq-core/cirq/vis/vis_utils_test.py .                                   [ 26%]
E         cirq-core/cirq/circuits/optimization_pass_test.py .....                  [ 26%]
E         cirq-core/cirq/protocols/qid_shape_protocol_test.py .                    [ 26%]
E         cirq-core/cirq/sim/density_matrix_simulator_test.py .................... [ 26%]
E         ........................................................................ [ 27%]
E         ........................................................................ [ 27%]
E         ........................................................................ [ 28%]
E         ..............                                                           [ 28%]
E         cirq-core/cirq/transformers/transformer_api_test.py .............        [ 28%]
E         cirq-core/cirq/testing/sample_circuits_test.py .                         [ 28%]
E         cirq-core/cirq/ops/arithmetic_operation_test.py ..                       [ 28%]
E         cirq-core/cirq/ops/fsim_gate_test.py ................................... [ 28%]
E         .......................................                                  [ 29%]
E         cirq-core/cirq/ops/pauli_interaction_gate_test.py ...................... [ 29%]
E         ........................................................................ [ 29%]
E         ........................................................................ [ 30%]
E         ....................                                                     [ 30%]
E         cirq-core/cirq/linalg/operator_spaces_test.py .......................... [ 30%]
E         ........................................................................ [ 31%]
E         ........................................................................ [ 31%]
E         ........................................................................ [ 32%]
E         ........................................................................ [ 32%]
E         ........................................................................ [ 33%]
E         ..............................                                           [ 33%]
E         cirq-core/cirq/testing/consistent_protocols_test.py ...                  [ 33%]
E         cirq-core/cirq/neutral_atoms/convert_to_neutral_atom_gates_test.py ..... [ 33%]
E         ..............                                                           [ 33%]
E         cirq-core/cirq/transformers/analytical_decompositions/three_qubit_decomposition_test.py . [ 33%]
E         .......................                                                  [ 34%]
E         cirq-core/cirq/vis/histogram_test.py ...                                 [ 34%]
E         cirq-core/cirq/linalg/tolerance_test.py ....                             [ 34%]
E         cirq-core/cirq/devices/superconducting_qubits_noise_properties_test.py . [ 34%]
E         .........                                                                [ 34%]
E         cirq-core/cirq/ops/measure_util_test.py ....                             [ 34%]
E         cirq-core/cirq/work/observable_readout_calibration_test.py .             [ 34%]
E         cirq-core/cirq/transformers/routing/line_initial_mapper_test.py ........ [ 34%]
E         ...................                                                      [ 34%]
E         cirq-core/cirq/value/periodic_value_test.py ....................         [ 34%]
E         cirq-core/cirq/interop/quirk/cells/measurement_cells_test.py .           [ 34%]
E         cirq-core/cirq/sim/clifford/clifford_tableau_simulation_state_test.py .. [ 34%]
E         .                                                                        [ 34%]
E         cirq-core/cirq/protocols/commutes_protocol_test.py ...                   [ 34%]
E         cirq-core/cirq/protocols/control_key_protocol_test.py .                  [ 34%]
E         cirq-core/cirq/value/measurement_key_test.py ..........                  [ 34%]
E         cirq-core/cirq/testing/op_tree_test.py .                                 [ 34%]
E         cirq-core/cirq/transformers/align_test.py .......                        [ 34%]
E         cirq-core/cirq/transformers/routing/initial_mapper_test.py .             [ 34%]
E         cirq-core/cirq/interop/quirk/cells/testing_test.py ......                [ 34%]
E         cirq-core/cirq/testing/consistent_qasm_test.py .                         [ 34%]
E         cirq-core/cirq/interop/quirk/cells/input_rotation_cells_test.py .......  [ 34%]
E         cirq-core/cirq/interop/quirk/cells/scalar_cells_test.py .                [ 34%]
E         cirq-core/cirq/value/linear_dict_test.py ............................... [ 35%]
E         ........................................................................ [ 35%]
E         .................................................                        [ 36%]
E         cirq-core/cirq/transformers/merge_single_qubit_gates_test.py ........    [ 36%]
E         cirq-core/cirq/value/probability_test.py ......                          [ 36%]
E         cirq-core/cirq/interop/quirk/cells/control_cells_test.py .....           [ 36%]
E         cirq-core/cirq/protocols/has_stabilizer_effect_protocol_test.py .....    [ 36%]
E         cirq-core/cirq/protocols/inverse_protocol_test.py ..................     [ 36%]
E         cirq-core/cirq/protocols/json_serialization_test.py ........xx......x... [ 36%]
E         ............x.......s..............x............x........x....x.x....... [ 37%]
E         .........xx....x..s................x.................................x.. [ 37%]
E         ..............x......x.x.....x....s....x.x.....x..x.....x............... [ 38%]
E         ..........x.x..x..x........x.......x.................................... [ 38%]
E         ...............x.........x.......x....x.............x..xx....x.....x.... [ 39%]
E         .....................x...................xx......s.........x............ [ 39%]
E         .........................x.............x....s.x.x...x...x..x..x......... [ 40%]
E         ....x.....x..............x........x....x..............x......x...x.....x [ 40%]
E         ..x....s....x......s........x..............x......x....s                 [ 41%]
E         cirq-core/cirq/work/pauli_sum_collector_test.py .....                    [ 41%]
E         cirq-core/cirq/ops/common_gates_test.py ................................ [ 41%]
E         ........................................................................ [ 42%]
E         ..............................                                           [ 42%]
E         cirq-core/cirq/experiments/single_qubit_readout_calibration_test.py .... [ 42%]
E         ........                                                                 [ 42%]
E         cirq-core/cirq/testing/consistent_phase_by_test.py .                     [ 42%]
E         cirq-core/cirq/testing/consistent_channels_test.py ........              [ 42%]
E         cirq-core/cirq/circuits/frozen_circuit_test.py ...                       [ 42%]
E         cirq-core/cirq/ops/raw_types_test.py ................................... [ 42%]
E         .......                                                                  [ 42%]
E         cirq-core/cirq/protocols/unitary_protocol_test.py ......                 [ 43%]
E         cirq-core/cirq/interop/quirk/cells/unsupported_cells_test.py ..          [ 43%]
E         cirq-core/cirq/circuits/circuit_operation_test.py ...................... [ 43%]
E         .................................................                        [ 43%]
E         cirq-core/cirq/transformers/routing/visualize_routed_circuit_test.py ..  [ 43%]
E         cirq-core/cirq/transformers/target_gatesets/sqrt_iswap_gateset_test.py . [ 43%]
E         ...........................                                              [ 43%]
E         cirq-core/cirq/protocols/kraus_protocol_test.py .............            [ 43%]
E         cirq-core/cirq/work/observable_grouping_test.py ........                 [ 43%]
E         cirq-core/cirq/testing/consistent_pauli_expansion_test.py .              [ 43%]
E         cirq-core/cirq/ops/named_qubit_test.py ........                          [ 44%]
E         cirq-core/cirq/_version_test.py .                                        [ 44%]
E         cirq-core/cirq/ops/pauli_sum_exponential_test.py ......................  [ 44%]
E         cirq-core/cirq/linalg/transformations_test.py .......................... [ 44%]
E         .......                                                                  [ 44%]
E         cirq-core/cirq/experiments/xeb_sampling_test.py ......                   [ 44%]
E         cirq-core/cirq/sim/state_vector_simulator_test.py ........               [ 44%]
E         cirq-core/cirq/circuits/_block_diagram_drawer_test.py ......             [ 44%]
E         cirq-core/cirq/transformers/measurement_transformers_test.py ........... [ 44%]
E         ...........................                                              [ 44%]
E         cirq-core/cirq/linalg/decompositions_test.py ........................... [ 45%]
E         ........................................................................ [ 45%]
E         .........................................                                [ 45%]
E         cirq-core/cirq/value/abc_alt_test.py ........                            [ 46%]
E         cirq-core/cirq/sim/simulation_state_test.py .......                      [ 46%]
E         cirq-core/cirq/vis/heatmap_test.py ..................................... [ 46%]
E         .                                                                        [ 46%]
E         cirq-core/cirq/study/result_test.py .....................                [ 46%]
E         cirq-core/cirq/sim/clifford/stabilizer_state_ch_form_test.py ..          [ 46%]
E         cirq-core/cirq/experiments/qubit_characterizations_test.py ......        [ 46%]
E         cirq-core/cirq/protocols/mul_protocol_test.py ..                         [ 46%]
E         cirq-core/cirq/sim/simulator_test.py .......................             [ 46%]
E         cirq-core/cirq/interop/quirk/url_to_circuit_test.py ..................   [ 46%]
E         cirq-core/cirq/testing/consistent_controlled_gate_op_test.py .           [ 46%]
E         cirq-core/cirq/sim/clifford/stabilizer_sampler_test.py ..                [ 46%]
E         cirq-core/cirq/ops/phased_iswap_gate_test.py ........................... [ 47%]
E         ..........                                                               [ 47%]
E         cirq-core/cirq/ops/classically_controlled_operation_test.py ............ [ 47%]
E         ..............................................                           [ 47%]
E         cirq-core/cirq/value/angle_test.py ...                                   [ 47%]
E         cirq-core/cirq/transformers/analytical_decompositions/cphase_to_fsim_test.py . [ 47%]
E         ...........................................................              [ 48%]
E         cirq-core/cirq/ops/qid_util_test.py ..                                   [ 48%]
E         cirq-core/cirq/ops/controlled_operation_test.py ........................ [ 48%]
E         ......                                                                   [ 48%]
E         cirq-core/cirq/protocols/pauli_expansion_protocol_test.py .............. [ 48%]
E                                                                                  [ 48%]
E         cirq-core/cirq/transformers/merge_k_qubit_gates_test.py .........        [ 48%]
E         cirq-core/cirq/transformers/target_gatesets/compilation_target_gateset_test.py . [ 48%]
E         .......                                                                  [ 48%]
E         cirq-core/cirq/devices/grid_qubit_test.py .........................      [ 48%]
E         cirq-core/cirq/transformers/drop_empty_moments_test.py ..                [ 48%]
E         cirq-core/cirq/ops/qubit_order_test.py .........                         [ 48%]
E         cirq-core/cirq/_compat_test.py ......................................... [ 49%]
E         ........                                                                 [ 49%]
E         cirq-core/cirq/testing/logs_test.py .......                              [ 49%]
E         cirq-core/cirq/linalg/predicates_test.py ......................          [ 49%]
E         cirq-core/cirq/protocols/qasm_test.py .                                  [ 49%]
E         cirq-core/cirq/testing/circuit_compare_test.py ..................        [ 49%]
E         cirq-core/cirq/protocols/mixture_protocol_test.py ............           [ 49%]
E         cirq-core/cirq/ops/global_phase_op_test.py ............................. [ 49%]
E         ...                                                                      [ 50%]
E         cirq-core/cirq/transformers/stratify_test.py .............               [ 50%]
E         cirq-core/cirq/work/observable_measurement_test.py ..................... [ 50%]
E         ....                                                                     [ 50%]
E         cirq-core/cirq/ops/mixed_unitary_channel_test.py ...........             [ 50%]
E         cirq-core/cirq/devices/thermal_noise_model_test.py .............         [ 50%]
E         cirq-core/cirq/study/flatten_expressions_test.py ...........             [ 50%]
E         cirq-core/cirq/vis/density_matrix_test.py .............................. [ 50%]
E         .......                                                                  [ 50%]
E         cirq-core/cirq/circuits/text_diagram_drawer_test.py ...........          [ 50%]
E         cirq-core/cirq/ops/phased_x_z_gate_test.py .................             [ 51%]
E         cirq-core/cirq/value/random_state_test.py .                              [ 51%]
E         cirq-core/cirq/sim/simulation_product_state_test.py .................... [ 51%]
E         ..                                                                       [ 51%]
E         cirq-core/cirq/ops/state_preparation_channel_test.py ................... [ 51%]
E                                                                                  [ 51%]
E         cirq-core/cirq/devices/line_qubit_test.py ..................             [ 51%]
E         cirq-core/cirq/ops/linear_combinations_test.py ......................... [ 51%]
E         ........................................................................ [ 52%]
E         ........................................................................ [ 52%]
E         ......................................                                   [ 53%]
E         cirq-core/cirq/experiments/n_qubit_tomography_test.py ...........        [ 53%]
E         cirq-core/cirq/sim/density_matrix_utils_test.py ........................ [ 53%]
E         .......................                                                  [ 53%]
E         cirq-core/cirq/testing/lin_alg_utils_test.py ........................... [ 53%]
E         .                                                                        [ 53%]
E         cirq-core/cirq/sim/clifford/clifford_simulator_test.py ................. [ 53%]
E         ...............................                                          [ 54%]
E         cirq-core/cirq/ops/parity_gates_test.py ................................ [ 54%]
E                                                                                  [ 54%]
E         cirq-core/cirq/ops/pauli_string_test.py ................................ [ 54%]
E         ........................................................................ [ 55%]
E         ........................................................................ [ 55%]
E         ........................................................................ [ 56%]
E         ........................................................................ [ 56%]
E         ........................................................................ [ 57%]
E         .................................                                        [ 57%]
E         cirq-core/cirq/transformers/synchronize_terminal_measurements_test.py .. [ 57%]
E         ........                                                                 [ 57%]
E         cirq-core/cirq/ops/eigen_gate_test.py .............................      [ 57%]
E         cirq-core/cirq/work/sampler_test.py ....................                 [ 58%]
E         cirq-core/cirq/transformers/analytical_decompositions/two_qubit_to_fsim_test.py . [ 58%]
E         ........................................................................ [ 58%]
E         ........................................................................ [ 59%]
E         ........................................................................ [ 59%]
E         ...............................................                          [ 60%]
E         cirq-core/cirq/interop/quirk/cells/arithmetic_cells_test.py ............ [ 60%]
E         ..                                                                       [ 60%]
E         cirq-core/cirq/circuits/insert_strategy_test.py .                        [ 60%]
E         cirq-core/cirq/ops/common_gate_families_test.py ...............          [ 60%]
E         cirq-core/cirq/transformers/heuristic_decompositions/gate_tabulation_math_utils_test.py . [ 60%]
E         ...                                                                      [ 60%]
E         cirq-core/cirq/transformers/eject_z_test.py ............................ [ 60%]
E         ..                                                                       [ 60%]
E         cirq-core/cirq/circuits/qasm_output_test.py ...................          [ 60%]
E         cirq-core/cirq/value/timestamp_test.py ........                          [ 60%]
E         cirq-core/cirq/devices/grid_device_metadata_test.py ........             [ 60%]
E         cirq-core/cirq/transformers/analytical_decompositions/clifford_decomposition_test.py . [ 60%]
E         ....                                                                     [ 60%]
E         cirq-core/cirq/experiments/t2_decay_experiment_test.py ................. [ 61%]
E         ...                                                                      [ 61%]
E         cirq-core/cirq/value/condition_test.py ..........                        [ 61%]
E         cirq-core/cirq/value/digits_test.py ....                                 [ 61%]
E         cirq-core/cirq/interop/quirk/cells/input_cells_test.py .....             [ 61%]
E         cirq-core/cirq/protocols/circuit_diagram_info_protocol_test.py ......... [ 61%]
E         ...                                                                      [ 61%]
E         cirq-core/cirq/ops/controlled_gate_test.py ............................. [ 61%]
E         ..................                                                       [ 61%]
E         cirq-core/cirq/devices/named_topologies_test.py ........................ [ 61%]
E         ...                                                                      [ 61%]
E         cirq-core/cirq/testing/json_test.py ...                                  [ 61%]
E         cirq-core/cirq/ops/parallel_gate_test.py ..............................  [ 62%]
E         cirq-core/cirq/transformers/analytical_decompositions/two_qubit_to_sqrt_iswap_test.py . [ 62%]
E         ........................................................................ [ 62%]
E         ........................................................................ [ 63%]
E         ........................................................................ [ 63%]
E         ........................................................................ [ 64%]
E         ........................................................................ [ 64%]
E         ........................................................................ [ 65%]
E         ........................................................................ [ 65%]
E         ........................................................................ [ 66%]
E         ........................................................................ [ 67%]
E         ........................................................................ [ 67%]
E         ........................................................................ [ 68%]
E         ........................................................................ [ 68%]
E         ........................................................................ [ 69%]
E         ........................................................................ [ 69%]
E         ........................................................................ [ 70%]
E         ........................................................................ [ 70%]
E         ........................................................................ [ 71%]
E         ........................................................................ [ 72%]
E         ........................................................................ [ 72%]
E         ........................................................................ [ 73%]
E         ........................................................................ [ 73%]
E         ........................................................................ [ 74%]
E         ........................................................................ [ 74%]
E         ........................................................................ [ 75%]
E         ........................................................................ [ 75%]
E         ........................................................................ [ 76%]
E         ........................................................................ [ 77%]
E         ........................................................................ [ 77%]
E         ........................................................................ [ 78%]
E         ........................................................................ [ 78%]
E         ........................................................................ [ 79%]
E         ........................................................................ [ 79%]
E         ........................................................................ [ 80%]
E         ........................................................................ [ 80%]
E         ........................................................................ [ 81%]
E         ........................................................................ [ 82%]
E         ........................................................................ [ 82%]
E         ........................................................................ [ 83%]
E         ........................................................................ [ 83%]
E         ........................................................................ [ 84%]
E         ........................................................................ [ 84%]
E         ....................................................                     [ 85%]
E         cirq-core/cirq/interop/quirk/cells/composite_cell_test.py ..             [ 85%]
E         cirq-core/cirq/qis/channels_test.py .................................... [ 85%]
E         ......................                                                   [ 85%]
E         cirq-core/cirq/protocols/measurement_key_protocol_test.py .............. [ 85%]
E         .                                                                        [ 85%]
E         cirq-core/cirq/testing/equivalent_basis_map_test.py ..                   [ 85%]
E         cirq-core/cirq/transformers/target_gatesets/cz_gateset_test.py ......... [ 85%]
E         .........                                                                [ 85%]
E         cirq-core/cirq/transformers/heuristic_decompositions/two_qubit_gate_tabulation_test.py . [ 85%]
E         ........................................................................ [ 86%]
E         ........................................................................ [ 86%]
E         ...............................................................          [ 87%]
E         cirq-core/cirq/ops/pauli_string_raw_types_test.py ...                    [ 87%]
E         cirq-core/cirq/ops/two_qubit_diagonal_gate_test.py ............          [ 87%]
E         cirq-core/cirq/protocols/apply_mixture_protocol_test.py .............    [ 87%]
E         cirq-core/cirq/devices/noise_properties_test.py .                        [ 87%]
E         cirq-core/cirq/transformers/analytical_decompositions/single_qubit_decompositions_test.py . [ 87%]
E         ........................................................................ [ 88%]
E         ................................                                         [ 88%]
E         cirq-core/cirq/devices/noise_utils_test.py ...................           [ 88%]
E         cirq-core/cirq/work/collector_test.py .......                            [ 88%]
E         cirq-core/cirq/transformers/analytical_decompositions/two_qubit_state_preparation_test.py . [ 88%]
E         ........................................................................ [ 89%]
E         ........................................................................ [ 89%]
E         ...........                                                              [ 89%]
E         cirq-core/cirq/testing/no_identifier_qubit_test.py ...                   [ 89%]
E         cirq-core/cirq/devices/insertion_noise_model_test.py .....               [ 89%]
E         cirq-core/cirq/testing/equals_tester_test.py ................            [ 90%]
E         cirq-core/cirq/linalg/diagonalize_test.py .............................. [ 90%]
E         ........................................................................ [ 90%]
E         ........................................................................ [ 91%]
E         ........................................................................ [ 91%]
E         ........................................................................ [ 92%]
E         ...                                                                      [ 92%]
E         cirq-core/cirq/value/duration_test.py .................                  [ 92%]
E         cirq-core/cirq/ops/dense_pauli_string_test.py .......................... [ 92%]
E         ..                                                                       [ 92%]
E         cirq-core/cirq/study/sweepable_test.py ...........................       [ 93%]
E         cirq-core/cirq/sim/density_matrix_simulation_state_test.py ........      [ 93%]
E         cirq-core/cirq/ops/permutation_gate_test.py .............                [ 93%]
E         cirq-core/cirq/experiments/grid_parallel_two_qubit_xeb_test.py .         [ 93%]
E         cirq-core/cirq/transformers/expand_composite_test.py ............        [ 93%]
E         cirq-core/cirq/ops/projector_test.py ...............                     [ 93%]
E         cirq-core/cirq/interop/quirk/cells/ignored_cells_test.py .               [ 93%]
E         cirq-core/cirq/experiments/xeb_simulation_test.py ....                   [ 93%]
E         cirq-core/cirq/circuits/_bucket_priority_queue_test.py .........         [ 93%]
E         cirq-core/cirq/qis/clifford_tableau_test.py ..................           [ 93%]
E         cirq-core/cirq/ops/gate_operation_test.py .............................. [ 93%]
E         .......                                                                  [ 94%]
E         cirq-core/cirq/study/sweeps_test.py ............................         [ 94%]
E         cirq-core/cirq/ops/gate_features_test.py ...                             [ 94%]
E         cirq-core/cirq/interop/quirk/cells/cell_test.py ....                     [ 94%]
E         cirq-core/cirq/protocols/apply_unitary_protocol_test.py .............    [ 94%]
E         cirq-core/cirq/sim/state_vector_simulation_state_test.py ............    [ 94%]
E         cirq-core/cirq/transformers/analytical_decompositions/single_to_two_qubit_isometry_test.py . [ 94%]
E         ...........................................................              [ 94%]
E         cirq-core/cirq/experiments/random_quantum_circuit_generation_test.py ... [ 94%]
E         ..............                                                           [ 95%]
E         cirq-core/cirq/transformers/eject_phased_paulis_test.py ..........       [ 95%]
E         cirq-core/cirq/transformers/routing/route_circuit_cqc_test.py .......... [ 95%]
E         .................                                                        [ 95%]
E         cirq-core/cirq/ops/phased_x_gate_test.py ............................... [ 95%]
E         ........................................................................ [ 96%]
E         ........................................................................ [ 96%]
E         ........................................................................ [ 97%]
E         ........................................................................ [ 97%]
E         ........................................................................ [ 98%]
E         ....................................................................     [ 98%]
E         cirq-core/cirq/study/resolver_test.py ............................F..... [ 99%]
E         .............                                                            [ 99%]
E         cirq-core/cirq/transformers/analytical_decompositions/two_qubit_to_ms_test.py . [ 99%]
E         ...........................................                              [ 99%]
E         cirq-core/cirq/ops/identity_test.py ........................             [ 99%]
E         cirq-core/cirq/ops/matrix_gates_test.py ............................     [ 99%]
E         cirq-core/cirq/transformers/drop_negligible_operations_test.py ......    [100%]
E         
E         =================================== FAILURES ===================================
E         ______________________ test_custom_value_not_implemented _______________________
E         [XPASS(strict)] this test requires sympy 1.12
E         =============================== warnings summary ===============================
E         cirq-core/cirq/ops/boolean_hamiltonian_test.py: 6 warnings
E         cirq-core/cirq/ops/random_gate_channel_test.py: 8 warnings
E         cirq-core/cirq/ops/swap_gates_test.py: 54 warnings
E         cirq-core/cirq/ops/three_qubit_gates_test.py: 57 warnings
E         cirq-core/cirq/ops/fourier_transform_test.py: 48 warnings
E         cirq-core/cirq/ops/measurement_gate_test.py: 16 warnings
E         cirq-core/cirq/ops/pauli_measurement_gate_test.py: 12 warnings
E         cirq-core/cirq/ops/pauli_string_phasor_test.py: 12 warnings
E         cirq-core/cirq/ops/wait_gate_test.py: 9 warnings
E         cirq-core/cirq/ops/diagonal_gate_test.py: 36 warnings
E         cirq-core/cirq/ops/fsim_gate_test.py: 72 warnings
E         cirq-core/cirq/ops/pauli_interaction_gate_test.py: 216 warnings
E         cirq-core/cirq/testing/consistent_protocols_test.py: 40 warnings
E         cirq-core/cirq/ops/common_gates_test.py: 90 warnings
E         cirq-core/cirq/ops/raw_types_test.py: 6 warnings
E         cirq-core/cirq/ops/phased_iswap_gate_test.py: 114 warnings
E         cirq-core/cirq/ops/controlled_operation_test.py: 356 warnings
E         cirq-core/cirq/ops/global_phase_op_test.py: 30 warnings
E         cirq-core/cirq/ops/phased_x_z_gate_test.py: 12 warnings
E         cirq-core/cirq/ops/parity_gates_test.py: 45 warnings
E         cirq-core/cirq/ops/pauli_string_test.py: 58 warnings
E         cirq-core/cirq/circuits/qasm_output_test.py: 3 warnings
E         cirq-core/cirq/ops/controlled_gate_test.py: 116 warnings
E         cirq-core/cirq/ops/parallel_gate_test.py: 24 warnings
E         cirq-core/cirq/ops/two_qubit_diagonal_gate_test.py: 24 warnings
E         cirq-core/cirq/ops/dense_pauli_string_test.py: 32 warnings
E         cirq-core/cirq/ops/permutation_gate_test.py: 12 warnings
E         cirq-core/cirq/ops/phased_x_gate_test.py: 72 warnings
E         cirq-core/cirq/ops/identity_test.py: 24 warnings
E         cirq-core/cirq/ops/matrix_gates_test.py: 55 warnings
E             warnings.warn(
E         
E         cirq-core/cirq/protocols/resolve_parameters_test.py::test_resolve_parameters[resolve_parameters]
E         cirq-core/cirq/protocols/resolve_parameters_test.py::test_resolve_parameters[resolve_parameters_once]
E         cirq-core/cirq/work/zeros_sampler_test.py::test_sample
E         cirq-core/cirq/work/zeros_sampler_test.py::test_sample
E         cirq-core/cirq/work/zeros_sampler_test.py::test_sample
E         cirq-core/cirq/work/zeros_sampler_test.py::test_sample
E             if is_parameterized is not None and not is_parameterized():
E         
E         cirq-core/cirq/work/observable_measurement_data_test.py::test_bitstring_accumulator_errors
E           /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3715: RuntimeWarning: Degrees of freedom <= 0 for slice
E             return _methods._var(a, axis=axis, dtype=dtype, out=out, ddof=ddof,
E         
E         cirq-core/cirq/work/observable_measurement_data_test.py::test_bitstring_accumulator_errors
E           /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages/numpy/core/_methods.py:257: RuntimeWarning: invalid value encountered in double_scalars
E             ret = ret.dtype.type(ret / rcount)
E         
E         cirq-core/cirq/testing/consistent_qasm_test.py::test_assert_qasm_is_consistent_with_unitary
E             warnings.warn(
E         
E         cirq-core/cirq/ops/dense_pauli_string_test.py::test_protocols
E             return np.float_power(cast(complex, base), cast(complex, exponent))
E         
E         -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
E         =========================== short test summary info ============================
E         FAILED cirq-core/cirq/study/resolver_test.py::test_custom_value_not_implemented
E         = 1 failed, 12973 passed, 8 skipped, 64 xfailed, 1669 warnings in 366.39s (0:06:06) =
E         
E       assert 1 == 0
E        +  where 1 = CompletedProcess(args=['/tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/bin/pytest', './cirq-core', '--ignore', './cirq-core/cirq/contrib'], returncode=1, stdout="============================= test session starts ==============================\nplatform linux -- Python 3.10.11, pytest-7.3.1, pluggy-1.0.0\nUsing --randomly-seed=3179374315\nrootdir: /home/x/Desktop/workspace/tmp/Cirq\nconfigfile: pyproject.toml\nplugins: forked-1.6.0, cov-4.0.0, xdist-2.2.1, randomly-3.12.0, asyncio-0.21.0\nasyncio: mode=strict\ncollected 13046 items\n\ncirq-core/cirq/sim/sparse_simulator_test.py ............................ [  0%]\n........................................................................ [  0%]\n........................................................................ [  1%]\n...................                                                      [  1%]\ncirq-core/cirq/interop/quirk/cells/single_qubit_rotation_cells_test.py . [  1%]\n..                                                                       [  1%]\ncirq-core/cirq/sim/state_vector_test.py ................................ [  1%]\n...                                                                      [  1%]\n..._data_test.py::test_bitstring_accumulator_errors\n  /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages/numpy/core/_methods.py:257: RuntimeWarning: invalid value encountered in double_scalars\n    ret = ret.dtype.type(ret / rcount)\n\ncirq-core/cirq/testing/consistent_qasm_test.py::test_assert_qasm_is_consistent_with_unitary\n  /home/x/Desktop/workspace/tmp/Cirq/cirq-core/cirq/testing/consistent_qasm_test.py:59: UserWarning: Skipped test_assert_qasm_is_consistent_with_unitary because qiskit isn't installed to verify against.\n    warnings.warn(\n\ncirq-core/cirq/ops/dense_pauli_string_test.py::test_protocols\n  /home/x/Desktop/workspace/tmp/Cirq/cirq-core/cirq/study/resolver.py:169: RuntimeWarning: divide by zero encountered in float_power\n    return np.float_power(cast(complex, base), cast(complex, exponent))\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n=========================== short test summary info ============================\nFAILED cirq-core/cirq/study/resolver_test.py::test_custom_value_not_implemented\n= 1 failed, 12973 passed, 8 skipped, 64 xfailed, 1669 warnings in 366.39s (0:06:06) =\n", stderr='').returncode

dev_tools/packaging/isolated_packages_test.py:56: AssertionError
------------------------------------------------------------------------------------------ Captured stdout call -------------------------------------------------------------------------------------------
Pytest worker [gw2] is reusing /tmp/cirq-pytest/isolated_packages for 'isolated_packages'.
Processing ./cirq-core
Collecting duet~=0.2.8
  Using cached duet-0.2.8-py3-none-any.whl (29 kB)
Collecting matplotlib~=3.0
  Using cached matplotlib-3.7.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)
Collecting networkx~=2.4
  Using cached networkx-2.8.8-py3-none-any.whl (2.0 MB)
Collecting numpy<1.24,>=1.16
  Using cached numpy-1.23.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
Collecting pandas
  Using cached pandas-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)
Collecting sortedcontainers~=2.0
  Using cached sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting scipy
  Using cached scipy-1.10.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.4 MB)
Collecting sympy
  Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
Requirement already satisfied: typing_extensions>=4.2 in /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages (from cirq-core==1.2.0.dev0) (4.5.0)
Collecting tqdm
  Using cached tqdm-4.65.0-py3-none-any.whl (77 kB)
Requirement already satisfied: packaging>=20.0 in /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages (from matplotlib~=3.0->cirq-core==1.2.0.dev0) (23.1)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.39.4-py3-none-any.whl (1.0 MB)
Collecting pyparsing>=2.3.1
  Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting pillow>=6.2.0
  Using cached Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
Collecting contourpy>=1.0.1
  Using cached contourpy-1.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.4.4-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.6 MB)
Requirement already satisfied: python-dateutil>=2.7 in /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages (from matplotlib~=3.0->cirq-core==1.2.0.dev0) (2.8.2)
Requirement already satisfied: six>=1.5 in /tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/lib/python3.10/site-packages (from python-dateutil>=2.7->matplotlib~=3.0->cirq-core==1.2.0.dev0) (1.16.0)
Collecting pytz>=2020.1
  Using cached pytz-2023.3-py2.py3-none-any.whl (502 kB)
Collecting tzdata>=2022.1
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting mpmath>=0.19
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Building wheels for collected packages: cirq-core
  Building wheel for cirq-core (setup.py): started
  Building wheel for cirq-core (setup.py): finished with status 'done'
  Created wheel for cirq-core: filename=cirq_core-1.2.0.dev0-py3-none-any.whl size=1795419 sha256=c952f28bfaad8f4ece12c33916d6ac0b53b4f99c4331994e57840d4306ac3031
  Stored in directory: /home/x/.cache/pip/wheels/a7/2d/15/f918c013f8fbb6757acb301dfb7cbc3bc7f85bce38b675767c
Successfully built cirq-core
Installing collected packages: numpy, tzdata, pytz, pyparsing, pillow, mpmath, kiwisolver, fonttools, cycler, contourpy, tqdm, sympy, sortedcontainers, scipy, pandas, networkx, matplotlib, duet, cirq-core
Successfully installed cirq-core-1.2.0.dev0 contourpy-1.0.7 cycler-0.11.0 duet-0.2.8 fonttools-4.39.4 kiwisolver-1.4.4 matplotlib-3.7.1 mpmath-1.3.0 networkx-2.8.8 numpy-1.23.5 pandas-2.0.1 pillow-9.5.0 pyparsing-3.0.9 pytz-2023.3 scipy-1.10.1 sortedcontainers-2.4.0 sympy-1.12 tqdm-4.65.0 tzdata-2023.3
------------------------------------------------------------------------------------------ Captured stderr call -------------------------------------------------------------------------------------------
run: ('virtualenv-clone', '/tmp/cirq-pytest/isolated_packages', '/tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e')
run: ('/tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/bin/pip', 'install', './cirq-core', './cirq-core')
run: ('/tmp/cirq-pytest/b22c2713-b708-4d89-ae8c-f6831edf138e/bin/pytest', './cirq-core', '--ignore', './cirq-core/cirq/contrib')
========================================================================================= short test summary info =========================================================================================
FAILED dev_tools/packaging/isolated_packages_test.py::test_isolated_packages[cirq-core] - AssertionError: Failed isolated tests for cirq-core:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================================================= 1 failed, 5 passed in 526.93s (0:08:46) =================================================================================

Cirq version
Cirq HEAD (at the time of writing)

@NoureldinYosri NoureldinYosri added the kind/bug-report Something doesn't seem to work. label May 12, 2023
@NoureldinYosri
Copy link
Collaborator Author

@tanujkhattar I think this happened after #6073

@tanujkhattar
Copy link
Collaborator

The test failure is unrelated to the PR. It happened because sympy 1.12 released 5 days ago - https://github.com/sympy/sympy/releases/tag/sympy-1.12

The CI failure was expected as per the discussion in #5930 (comment)

@pavoljuhas Can we just remove the xfail condition on the test now?

@tanujkhattar tanujkhattar added the triage/accepted there is consensus amongst maintainers that this is a real bug or a reasonable feature to add label May 15, 2023
@pavoljuhas
Copy link
Collaborator

See #6096 - hopefully it will fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-report Something doesn't seem to work. triage/accepted there is consensus amongst maintainers that this is a real bug or a reasonable feature to add
Projects
None yet
Development

No branches or pull requests

3 participants