python3Packages.google_api_core: 0.15.0 -> 1.16.0

Also drop 3.2 compatibility; google-api-core version 1.16.0 requires at
least Python 3.5, there is no point in keeping a Python 3.2 check around
here.
This commit is contained in:
Ruud van Asseldonk 2020-01-14 17:37:50 +01:00 committed by Jon
parent d4384a4dbb
commit c4767b86a3

View File

@ -1,20 +1,20 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock }:
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, mock }:
buildPythonPackage rec {
pname = "google-api-core";
version = "1.15.0";
version = "1.16.0";
disabled = isPy27; # google namespace no longer works on python2
src = fetchPypi {
inherit pname version;
sha256 = "2d661c8d650a1df5805d0e360121cb55c55d8bd29f858fa62cbe943e59ce89f7";
sha256 = "1qh30ji399gngv2j1czzvi3h0mgx3lfdx2n8qp8vii7ihyh65scj";
};
propagatedBuildInputs = [
googleapis_common_protos protobuf
google_auth requests setuptools grpcio
] ++ lib.optional (pythonOlder "3.2") futures;
];
# requires nox
doCheck = false;