mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 05:26:34 +01:00
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
This commit is contained in:
parent
ad9a2f9643
commit
0b06a5bc97
1 changed files with 5 additions and 1 deletions
|
@ -17830,7 +17830,8 @@ (define-public python-pydevd
|
|||
;; 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
|
||||
|
@ -17872,6 +17873,9 @@ (define-public python-pydevd
|
|||
(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 _
|
||||
|
|
Loading…
Reference in a new issue