[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: python-sentry-sdk: Fix build.
From: |
guix-commits |
Subject: |
branch master updated: gnu: python-sentry-sdk: Fix build. |
Date: |
Sun, 15 Dec 2024 11:15:38 -0500 |
This is an automated email from the git hooks/post-receive script.
z572 pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 65892d9f20 gnu: python-sentry-sdk: Fix build.
65892d9f20 is described below
commit 65892d9f20aa7a8649797507bb1ec867285083fb
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Mon Dec 16 00:06:33 2024 +0800
gnu: python-sentry-sdk: Fix build.
* gnu/packages/python-xyz.scm (python-sentry-sdk)[arguments]<#:phases>: Add
fix-test phase. Skip test_threading and test_transport test.
Change-Id: Iee8e3909d8e581eb6fbe5e45a103645409094888
---
gnu/packages/python-xyz.scm | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7004338de2..ec71a6b614 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15007,6 +15007,14 @@ you do not want to store entirely on disk or on
memory.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-before 'check 'fix-test
+ ;; See https://github.com/getsentry/sentry-python/pull/2712
+ (lambda _
+ (substitute* "tests/__init__.py"
+ (("import pytest")
+ "import warnings")
+ (("pytest.warns\\(None\\)")
+ "warnings.catch_warnings(record=True)"))))
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(when tests?
@@ -15061,7 +15069,12 @@ you do not want to store entirely on disk or on
memory.")
" and not
test_finds_transaction_when_descendent_span_is_on_scope"
" and not test_finds_orphan_span_on_scope"
" and not test_finds_non_orphan_span_on_scope"
- " and not test_circular_references"))))))))
+ " and not test_circular_references"
+
+ ;; AttributeError: module 'py' has no attribute
'process'
+ ;; See
<https://github.com/pytest-dev/pytest-forked/issues/88>.
+ " and not test_threading"
+ " and not test_transport"))))))))
(native-inputs
(list python-django
python-executing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: python-sentry-sdk: Fix build.,
guix-commits <=