summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-23 17:03:27 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 22:26:56 +0000
commit36f94ae8c1352a15f4f16a785b5ceb0b358c053f (patch)
tree6c60f3373d170c35e5c8413ebeca2f3abe8590b2 /gnu/packages/python-web.scm
parent1ccde4f3336bd7a00cc1b4f9015309c7b4883b69 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm26
1 files changed, 18 insertions, 8 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e86c8012777..0a7688ca83d 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")