rekado pushed a commit to branch python-team
in repository guix.

commit c46bbefa1daee125317c56f8595667645b2998c2
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 2fd5274d9b..041bfe096d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17930,6 +17930,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 _

Reply via email to