From 36f94ae8c1352a15f4f16a785b5ceb0b358c053f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Tue, 23 Dec 2025 17:03:27 +0100 Subject: [PATCH] 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 --- 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 e86c8012777fd4c8075ad464c4e6b65efe6cb636..0a7688ca83d96d92152e5b06b41ae72b79cb69b5 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")