lol

python310Packages.cirq-*: disable version test

+34 -3
+5
pkgs/development/python-modules/cirq-aqt/default.nix
··· 26 26 27 27 # cirq's importlib hook doesn't work here 28 28 #pythonImportsCheck = [ "cirq_aqt" ]; 29 + 30 + disabledTestPaths = [ 31 + # No need to test the version number 32 + "cirq_aqt/_version_test.py" 33 + ]; 29 34 }
+1 -1
pkgs/development/python-modules/cirq-core/default.nix
··· 87 87 ]; 88 88 89 89 disabledTests = [ 90 - # tries to import flynt, which isn't in Nixpkgs 90 + # Tries to import flynt, which isn't in Nixpkgs 91 91 "test_metadata_search_path" 92 92 # Fails due pandas MultiIndex. Maybe issue with pandas version in nix? 93 93 "test_benchmark_2q_xeb_fidelities"
+8 -2
pkgs/development/python-modules/cirq-google/default.nix
··· 2 2 , cirq-core 3 3 , google-api-core 4 4 , protobuf 5 - # test inputs 6 5 , pytestCheckHook 7 6 , freezegun 8 7 }: ··· 15 14 16 15 postPatch = '' 17 16 substituteInPlace requirements.txt \ 18 - --replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev" 17 + --replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev" \ 18 + --replace "protobuf >= 3.15.0, < 4" "protobuf >= 3.15.0" 19 19 ''; 20 20 21 21 propagatedBuildInputs = [ ··· 29 29 pytestCheckHook 30 30 ]; 31 31 32 + disabledTestPaths = [ 33 + # No need to test the version number 34 + "cirq_google/_version_test.py" 35 + ]; 36 + 32 37 disabledTests = [ 33 38 # unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient' 34 39 "test_get_engine_sampler_explicit_project_id" 35 40 "test_get_engine_sampler" 36 41 ]; 42 + 37 43 }
+5
pkgs/development/python-modules/cirq-ionq/default.nix
··· 26 26 27 27 # cirq's importlib hook doesn't work here 28 28 #pythonImportsCheck = [ "cirq_ionq" ]; 29 + 30 + disabledTestPaths = [ 31 + # No need to test the version number 32 + "cirq_ionq/_version_test.py" 33 + ]; 29 34 }
+5
pkgs/development/python-modules/cirq-pasqal/default.nix
··· 26 26 27 27 # cirq's importlib hook doesn't work here 28 28 #pythonImportsCheck = [ "cirq_pasqal" ]; 29 + 30 + disabledTestPaths = [ 31 + # No need to test the version number 32 + "cirq_pasqal/_version_test.py" 33 + ]; 29 34 }
+5
pkgs/development/python-modules/cirq-rigetti/default.nix
··· 75 75 pytestCheckHook 76 76 ]; 77 77 78 + disabledTestPaths = [ 79 + # No need to test the version number 80 + "cirq_rigetti/_version_test.py" 81 + ]; 82 + 78 83 # cirq's importlib hook doesn't work here 79 84 #pythonImportsCheck = [ "cirq_rigetti" ]; 80 85 }
+5
pkgs/development/python-modules/cirq-web/default.nix
··· 19 19 20 20 # cirq's importlib hook doesn't work here 21 21 #pythonImportsCheck = [ "cirq_web" ]; 22 + 23 + disabledTestPaths = [ 24 + # No need to test the version number 25 + "cirq_web/_version_test.py" 26 + ]; 22 27 }