rekado pushed a commit to branch python-team
in repository guix.
commit d877498c7d809af00d1c15ef2592afc97e8557dc
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Fri Dec 20 21:55:25 2024 +0100
gnu: python-pydevd: Disable flaky tests.
Setting IS_PYPY doesn't do anything and I only set it before due to a
misunderstanding. Instead we should disable flaky tests.
* gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Ignore tests
marked
as "flaky"; do not set IS_PYPY variable in 'pre-check phase.
Change-Id: If28f3dfd533df9048aeee5ecd42984b40ea0a22a
---
gnu/packages/python-xyz.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2f6eecc20e..9b15b81163 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17877,6 +17877,7 @@ libmagic.")))
(list
#:test-flags
#~(list "-n" (number->string (parallel-job-count))
+ "-m" "not flaky"
"-k"
(string-append
;; The two "break_01" tests have been failing on
@@ -17932,8 +17933,6 @@ 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 _