Unverified Commit 39de7690 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #208101 from fabaff/google-cloud-iam-logging-bump

python310Packages.google-auth: 2.14.0 -> 2.15.0, python310Packages.google-api-core: 2.10.2 -> 2.11.0 
parents 3520682a 753dccdf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ buildPythonPackage rec {
    cirq-core
    google-api-core
    protobuf
  ];
  ] ++ google-api-core.optional-dependencies.grpc;

  checkInputs = [
    freezegun
+19 −7
Original line number Diff line number Diff line
@@ -4,38 +4,50 @@
, google-auth
, googleapis-common-protos
, grpcio
, grpcio-gcp
, grpcio-status
, protobuf
, proto-plus
, requests
, mock
, proto-plus
, protobuf
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
}:

buildPythonPackage rec {
  pname = "google-api-core";
  version = "2.10.2";
  version = "2.11.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-EMBvdzn+V3gfh1Izdejho6RnS/Y5LNYTGjIiGCuXEyA=";
    hash = "sha256-S5u11aOAoL76BXOzAmUbipqJJiwXMON79CPOxRGATCI=";
  };

  propagatedBuildInputs = [
    googleapis-common-protos
    google-auth
    grpcio
    grpcio-status
    protobuf
    proto-plus
    requests
  ];

  passthru.optional-dependencies = {
    grpc = [
      grpcio
      grpcio-status
    ];
    grpcgcp = [
      grpcio-gcp
    ];
    grpcio-gcp = [
      grpcio-gcp
    ];
  };

  checkInputs = [
    mock
    pytest-asyncio
+7 −2
Original line number Diff line number Diff line
@@ -5,17 +5,21 @@
, google-auth
, httplib2
, mock
, pytestCheckHook
, pytest-localserver
, pytestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "google-auth-httplib2";
  version = "0.1.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    sha256 = "a07c39fd632becacd3f07718dfd6021bf396978f03ad3ce4321d060015cc30ac";
    hash = "sha256-oHw5/WMr7KzT8HcY39YCG/OWl48DrTzkMh0GABXMMKw=";
  };

  propagatedBuildInputs = [
@@ -33,6 +37,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Google Authentication Library: httplib2 transport";
    homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2";
    changelog = "https://github.com/googleapis/google-auth-library-python-httplib2/blob/v${version}/CHANGELOG.md";
    license = licenses.asl20;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
+10 −3
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
, pyopenssl
, pyu2f
, requests
, pythonOlder
, aioresponses
, asynctest
, flask
@@ -27,11 +28,14 @@

buildPythonPackage rec {
  pname = "google-auth";
  version = "2.14.0";
  version = "2.15.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-zySBeFXYdO3i79BxqiISVEX1Vd4Whbc5qXgvz0CMKj0=";
    sha256 = "sha256-cvEqbPyWjXVNe9qzacXFwWAyEG5S0yxt/YSE5MAabR8=";
  };

  propagatedBuildInputs = [
@@ -56,6 +60,9 @@ buildPythonPackage rec {
    reauth = [
      pyu2f
    ];
    requests = [
      requests
    ];
  };

  checkInputs = [
@@ -92,7 +99,7 @@ buildPythonPackage rec {
  meta = with lib; {
    description = "Google Auth Python Library";
    longDescription = ''
      This library simplifies using Googles various server-to-server
      This library simplifies using Google's various server-to-server
      authentication mechanisms to access Google APIs.
    '';
    homepage = "https://github.com/googleapis/google-auth-library-python";
+3 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
, fetchPypi
, google-api-core
, pythonOlder
, protobuf
}:

buildPythonPackage rec {
@@ -19,7 +20,8 @@ buildPythonPackage rec {

  propagatedBuildInputs = [
    google-api-core
  ];
    protobuf
  ] ++ google-api-core.optional-dependencies.grpc;

  # No tests in repo
  doCheck = false;
Loading