rekado pushed a commit to branch python-team
in repository guix.
commit d6f573fb9553e050525ad1dbc97996683a29861f
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Tue Dec 17 21:35:54 2024 +0100
gnu: python-pydevd: Disable CI tests.
* gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Set variable
IS_PYPI
to disable tests that should not be run on CI.
Change-Id: I42d94017d9a873e51bc59bf3ef465bd23aac79d5
---
gnu/packages/python-xyz.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index deb283bb59..b4185be18d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17946,6 +17946,8 @@ libmagic.")))
(add-before 'check 'pre-check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
+ ;; Skip tests that should not be run on build servers
+ (setenv "IS_PYPY" "1")
(setenv "PYDEVD_USE_CYTHON" "YES"))))
(add-after 'install 'install-attach-binary
(lambda _