File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ def _read_json(json_filename: str) -> Any:
87
87
88
88
def test_exclude_json_files_has_valid_entries () -> None :
89
89
"""Verify _EXCLUDE_JSON_FILES has valid entries."""
90
- # do not check rigetti files if not installed
91
- skip_rigetti = all ( m . name != "cirq_rigetti" for m in MODULE_TEST_SPECS )
90
+ # cirq_rigetti is getting removed per #7058
91
+ skip_rigetti = True
92
92
json_file_validates = lambda f : any (
93
93
m .test_data_path .joinpath (os .path .basename (f )).is_file () for m in MODULE_TEST_SPECS
94
94
) or (skip_rigetti and f .startswith ("cirq_rigetti/" ))
Original file line number Diff line number Diff line change @@ -52,18 +52,10 @@ class _ModuleDeprecation:
52
52
'cirq_ionq' : None ,
53
53
'cirq_google' : None ,
54
54
'cirq_pasqal' : None ,
55
- 'cirq_rigetti' : None ,
56
55
'cirq.protocols' : None ,
57
56
'non_existent_should_be_fine' : None ,
58
57
}
59
58
60
- # TODO(#6706) remove after cirq_rigetti supports NumPy 2.0
61
- if np .__version__ .startswith ("2." ): # pragma: no cover
62
- warnings .warn (
63
- "json_serialization_test - ignoring cirq_rigetti due to incompatibility with NumPy 2.0"
64
- )
65
- del TESTED_MODULES ["cirq_rigetti" ]
66
-
67
59
68
60
def _get_testspecs_for_modules () -> list [ModuleJsonTestSpec ]:
69
61
modules = []
You can’t perform that action at this time.
0 commit comments