From 8de8f01277874d9dcc060ca474db181c7ed6ed69 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 24 Dec 2025 02:17:19 +0100 Subject: [PATCH] gnu: python-google-cloud-core: Update to 2.5.0. * gnu/packages/python-web.scm (python-google-cloud-core): Update to 2.5.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-grpcio-status, python-pytest, python-setuptools. [description]: Improve style. Change-Id: I39913a8a2cf5238171848d83232cc9c6538bdd0d Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index fadef9ab8959a87ceab1676659e0e3dfe8de8f8f..b28f93e7eed4fe99ccf836ae57e8eb6692246e3d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12014,28 +12014,28 @@ the @code{googleapis/api-common-protos} repository.") (define-public python-google-cloud-core (package (name "python-google-cloud-core") - (version "2.3.0") + (version "2.5.0") (source (origin - (method url-fetch) - (uri (pypi-uri "google-cloud-core" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/googleapis/python-cloud-core") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0sa66kidgr32dfq9ngha9l362xnqvnqqmssn5my1gd3lc6g65apx")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) + (base32 "1d7li74cakgl9vghxfir9nxwy36980alvxwgwjg0zyla3hgj07cq")))) + (build-system pyproject-build-system) (propagated-inputs (list python-google-api-core python-google-auth)) (native-inputs - (list python-grpcio python-pytest)) + (list python-grpcio + python-grpcio-status + python-pytest + python-setuptools)) (home-page "https://github.com/googleapis/python-cloud-core") (synopsis "Google Cloud API client core library") - (description "This library defines common helpers (e.g. base @code{Client} -classes) used by all of the @code{google-cloud-*} packages.") + (description + "This library defines common helpers (e.g. base @code{Client} classes) +used by all of the @code{google-cloud-*} packages.") (license license:asl2.0))) (define-public python-google-cloud-storage