Skip to content

cirq rigetti cause CI failure for pytest and mypy at head #6732

Closed
@NoureldinYosri

Description

@NoureldinYosri

pytest check: https://github.com/quantumlib/Cirq/actions/runs/10922443135/job/30316787499?pr=6728

FAILED cirq-core/cirq/protocols/json_serialization_test.py::test_json_and_repr_data[mod_spec45-/home/runner/work/Cirq/Cirq/cirq-rigetti/cirq_rigetti/json_test_data/RigettiQCSAspenDevice] - OSError: Failed to parse test json data from cirq-rigetti/cirq_rigetti/json_test_data/RigettiQCSAspenDevice.json.
FAILED cirq-core/cirq/protocols/json_serialization_test.py::test_json_test_data_coverage[mod_spec270-RigettiQCSAspenDevice-RigettiQCSAspenDevice] - AttributeError: type object 'builtins.Family' has no attribute 'Aspen'

type check: https://github.com/quantumlib/Cirq/actions/runs/10922443135/job/30316786280?pr=6728

cirq-rigetti/cirq_rigetti/aspen_device.py:69: error: "type[Family]" has no attribute "Aspen"  [attr-defined]
cirq-rigetti/cirq_rigetti/aspen_device_test.py:256: error: "type[Family]" has no attribute "NONE"  [attr-defined]
cirq-rigetti/cirq_rigetti/aspen_device_test.py:259: error: "type[Family]" has no attribute "Aspen"  [attr-defined]

blocking #6728

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug-reportSomething doesn't seem to work.triage/discussNeeds decision / discussion, bring these up during Cirq Cynque

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions