rekado pushed a commit to branch python-team
in repository guix.
commit da7a17f97a61a162acb9cdf13f1cf37e5b852158
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 efd01e31db..cc9f4b0712 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17893,6 +17893,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
@@ -17948,8 +17949,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 _