python310Packages.google-cloud-runtimeconfig: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-12-28 16:36:55 +01:00
parent 81f3bf3604
commit 2ae853805b

View File

@ -5,23 +5,35 @@
, google-cloud-core
, mock
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "google-cloud-runtimeconfig";
version = "0.33.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
hash = "sha256-MPmyvm2FSrUzb1y5i4xl5Cqea6sxixLoZ7V1hxNi7hw=";
};
propagatedBuildInputs = [ google-api-core google-cloud-core ];
propagatedBuildInputs = [
google-api-core
google-cloud-core
];
checkInputs = [ mock pytestCheckHook ];
checkInputs = [
mock
pytestCheckHook
];
# Client tests require credentials
disabledTests = [ "client_options" ];
disabledTests = [
"client_options"
];
# prevent google directory from shadowing google imports
preCheck = ''