git.iko.soy/typeable/nixpkgs
on master help sign in
python310Packages.cirq-google: disable failing tests
commit009f8ca222425162c27c685d859b0596ae98fa8b authorFabian Affolter <mail@fabian-affolter.ch> dateTue 11 Jan 2022, 10:29 (5 years ago) parent2d7b369
1 file changed+6−1
pkgs/development/python-modules/cirq-google/default.nix+6−1
pkgs/development/python-modules/cirq-google/default.nix+6−1
@@ -15,7 +15,6 @@ buildPythonPackage rec {
1515
1616 postPatch = ''
1717 substituteInPlace requirements.txt \
18− --replace "protobuf~=3.13.0" "protobuf" \
1918 --replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
2019 '';
2120
@@ -29,4 +28,10 @@ buildPythonPackage rec {
2928 freezegun
3029 pytestCheckHook
3130 ];
31+
32+ disabledTests = [
33+ # unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient'
34+ "test_get_engine_sampler_explicit_project_id"
35+ "test_get_engine_sampler"
36+ ];
3237}