guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 9546c00142b5e592aac89b9e23c4d76092602cfe
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Mar 4 08:08:04 2026 +0000
gnu: python-google-cloud-core: Fix tests on python-3.12.
* gnu/packages/python-web.scm (python-google-cloud-core) [arguments]
<test-flags>: Ignore faileur on deprecation warning.
Change-Id: I4657321d9fd72dd2b6b8cb09a197b2c92fbc2ad8
---
gnu/packages/python-web.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9a480b7167..df26544f15 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -12168,6 +12168,14 @@ the @code{googleapis/api-common-protos} repository.")
(sha256
(base32 "1d7li74cakgl9vghxfir9nxwy36980alvxwgwjg0zyla3hgj07cq"))))
(build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; XXX: DeprecationWarning: datetime.datetime.utcfromtimestamp() is
+ ;; deprecated and scheduled for removal in a future version. Use
+ ;; timezone-aware objects to represent datetimes in UTC:
+ ;; datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
+ #~(list "-W" "ignore::DeprecationWarning")))
(propagated-inputs (list python-google-api-core python-google-auth))
(native-inputs
(list python-grpcio