guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 2be25a893abb921c026e550b931394c26c2c416e
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Mar 3 22:23:15 2026 +0000
gnu: python-google-api-core: Fix tests on python-3.12.
* gnu/packages/python-web.scm (python-google-api-core)[arguments]
<test-flags>: Ignore faileur on deprecation warning.
Change-Id: I8aff71d3a7c0fd2a4c4505fff0173f23c86455b0
---
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 ffdcfd4338..9a480b7167 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -12128,6 +12128,14 @@ the @code{googleapis/api-common-protos} repository.")
(sha256
(base32 "0ahs8abyl7719paarlnspqp8yds149w7vm3w7zz6f7q04sscd862"))))
(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-auth
python-googleapis-common-protos