diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-03-08 20:41:59 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-03-08 20:08:11 -0800 |
commit | 44995ccd1dd569a35d30727fa5a31d698c775e50 (patch) | |
tree | a8e95a3a6d9b085a37f705cd1c2e324598135312 /pkgs/development/python-modules/google-cloud-dataproc | |
parent | 2c0a9c5ea09d29b362ef7de6db3193afa6c31960 (diff) | |
download | nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar.gz nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar.bz2 nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar.lz nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar.xz nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.tar.zst nixpkgs-44995ccd1dd569a35d30727fa5a31d698c775e50.zip |
python3Packages.google-cloud-dataproc: disable on older Python releases
Diffstat (limited to 'pkgs/development/python-modules/google-cloud-dataproc')
-rw-r--r-- | pkgs/development/python-modules/google-cloud-dataproc/default.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/google-cloud-dataproc/default.nix b/pkgs/development/python-modules/google-cloud-dataproc/default.nix index 9b97c14b621..d8451ec097c 100644 --- a/pkgs/development/python-modules/google-cloud-dataproc/default.nix +++ b/pkgs/development/python-modules/google-cloud-dataproc/default.nix @@ -7,20 +7,32 @@ , proto-plus , pytestCheckHook , pytest-asyncio +, pythonOlder }: buildPythonPackage rec { pname = "google-cloud-dataproc"; version = "4.0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "sha256-IAnsz7UxMf3GqaPYPltis0WWPM+IIWwpK1iTSV7Kl5c="; }; - propagatedBuildInputs = [ google-api-core libcst proto-plus ]; + propagatedBuildInputs = [ + google-api-core + libcst + proto-plus + ]; - checkInputs = [ mock pytestCheckHook pytest-asyncio ]; + checkInputs = [ + mock + pytestCheckHook + pytest-asyncio + ]; disabledTests = [ # requires credentials |