mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
python310Packages.cirq-*: disable version test
This commit is contained in:
parent
a51c8f91da
commit
651e154b43
@ -26,4 +26,9 @@ buildPythonPackage rec {
|
||||
|
||||
# cirq's importlib hook doesn't work here
|
||||
#pythonImportsCheck = [ "cirq_aqt" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_aqt/_version_test.py"
|
||||
];
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# tries to import flynt, which isn't in Nixpkgs
|
||||
# Tries to import flynt, which isn't in Nixpkgs
|
||||
"test_metadata_search_path"
|
||||
# Fails due pandas MultiIndex. Maybe issue with pandas version in nix?
|
||||
"test_benchmark_2q_xeb_fidelities"
|
||||
|
@ -2,7 +2,6 @@
|
||||
, cirq-core
|
||||
, google-api-core
|
||||
, protobuf
|
||||
# test inputs
|
||||
, pytestCheckHook
|
||||
, freezegun
|
||||
}:
|
||||
@ -15,7 +14,8 @@ buildPythonPackage rec {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev"
|
||||
--replace "google-api-core[grpc] >= 1.14.0, < 2.0.0dev" "google-api-core[grpc] >= 1.14.0, < 3.0.0dev" \
|
||||
--replace "protobuf >= 3.15.0, < 4" "protobuf >= 3.15.0"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -29,9 +29,15 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_google/_version_test.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# unittest.mock.InvalidSpecError: Cannot autospec attr 'QuantumEngineServiceClient'
|
||||
"test_get_engine_sampler_explicit_project_id"
|
||||
"test_get_engine_sampler"
|
||||
];
|
||||
|
||||
}
|
||||
|
@ -26,4 +26,9 @@ buildPythonPackage rec {
|
||||
|
||||
# cirq's importlib hook doesn't work here
|
||||
#pythonImportsCheck = [ "cirq_ionq" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_ionq/_version_test.py"
|
||||
];
|
||||
}
|
||||
|
@ -26,4 +26,9 @@ buildPythonPackage rec {
|
||||
|
||||
# cirq's importlib hook doesn't work here
|
||||
#pythonImportsCheck = [ "cirq_pasqal" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_pasqal/_version_test.py"
|
||||
];
|
||||
}
|
||||
|
@ -75,6 +75,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_rigetti/_version_test.py"
|
||||
];
|
||||
|
||||
# cirq's importlib hook doesn't work here
|
||||
#pythonImportsCheck = [ "cirq_rigetti" ];
|
||||
}
|
||||
|
@ -19,4 +19,9 @@ buildPythonPackage rec {
|
||||
|
||||
# cirq's importlib hook doesn't work here
|
||||
#pythonImportsCheck = [ "cirq_web" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# No need to test the version number
|
||||
"cirq_web/_version_test.py"
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user