guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 36f94ae8c1352a15f4f16a785b5ceb0b358c053f
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 17:03:27 2025 +0100

    gnu: python-google-api-client: Update to 2.187.0.
    
    * gnu/packages/python-web.scm (python-google-api-client): Update to 2.187.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-flags>: Ignore a single failing test.
    [native-inputs]: Add python-parameterized, python-pytest,
    python-setuptools.
    [propagated-inputs]: Remove python-six.
    
    Change-Id: Icc763db0362ec109d2775ffa0e83485c888181ea
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e86c801277..0a7688ca83 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8776,24 +8776,34 @@ engine.  Its module is called @code{googlesearch}.")
 (define-public python-google-api-client
   (package
     (name "python-google-api-client")
-    (version "2.102.0")
+    (version "2.187.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "google-api-python-client" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/google-api-python-client";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "07b9afz3g3lk976i974h6ikvl7wzwm0a0ws0iynxvmd4favgjvwh"))))
-    (build-system python-build-system)
+        (base32 "09vq5d32avri0gl8c7nn5dv2xds1jzjms7vqk3gn66nm2m37x8mv"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f))    ; tests require internet access
+     (list
+      #:test-flags
+      #~(list "-k"
+              ;; XXX: Requires CA certificates.
+              "not test_credentials_and_credentials_file_mutually_exclusive"
+              "tests")))
+    (native-inputs
+     (list python-parameterized
+           python-pytest
+           python-setuptools))
     (propagated-inputs
      (list python-google-api-core
            python-google-auth
            python-google-auth-httplib2
            python-httplib2
            python-pyparsing
-           python-six
            python-uritemplate-3))
     (home-page "https://github.com/google/google-api-python-client";)
     (synopsis "Core Python library for accessing Google APIs")

Reply via email to