guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: python-pydevd: Avoid test failures due to greendns.


From: guix-commits
Subject: 03/03: gnu: python-pydevd: Avoid test failures due to greendns.
Date: Fri, 20 Dec 2024 15:58:33 -0500 (EST)

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

commit b644763fef19e61836ca6b6adfc306a144ea965d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 20 21:56:30 2024 +0100

    gnu: python-pydevd: Avoid test failures due to greendns.
    
    * gnu/packages/python-xyz.scm (python-pydevd)[arguments]: Disable one 
stubborn
    test; set EVENTLET_NO_GREENDNS.
    
    Change-Id: I3cf5af6c99dbb18095277f353f46c60f68a62188
---
 gnu/packages/python-xyz.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8f6fc07dd2..df8505d4ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17891,7 +17891,8 @@ libmagic.")))
                ;; of the build file name present in the message.
                "and not test_evaluate_exception_trace "
                ;; This test fail with TimeoutError, no message on stderr.
-               "and not test_soft_terminate "))
+               "and not test_soft_terminate "
+               "and not test_debugger_case_deadlock_interrupt_thread"))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'fix-tests
@@ -17933,6 +17934,9 @@ libmagic.")))
           (add-before 'check 'pre-check
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
+                ;; Without this we get this error: type object 'GreenSocket'
+                ;; has no attribute 'sendmsg'.
+                (setenv "EVENTLET_NO_GREENDNS" "YES")
                 (setenv "PYDEVD_USE_CYTHON" "YES"))))
           (add-after 'install 'install-attach-binary
             (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]