sharlatan pushed a commit to branch python-team in repository guix. commit 93fd4bd124a1aa91f15c2fb411acaa7eb8217cdb Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sun Jan 26 17:07:11 2025 +0000
gnu: python-pydevd: Skip one more test. * gnu/packages/python-xyz.scm (python-pydevd): [arguments] <test-flags>: Skip one test, failing on Python 3.11, use "string-join" to simplify package. Change-Id: I5dcb9b97210d08aa12858514ecad1a74b3c6e13b --- gnu/packages/python-xyz.scm | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5300b029d3..07c83939dc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18668,20 +18668,26 @@ libmagic."))) #~(list "-n" (number->string (parallel-job-count)) "-m" "not flaky" "-k" - (string-append - ;; The two "break_01" tests have been failing on - ;; Python 3.10: - ;; <https://github.com/fabioz/PyDev.Debugger/issues/222>. - "not test_set_pydevd_break_01 " - ;; the GUI event loop requires an X server. - "and not test_gui_event_loop_custom " - ;; This test validates that 'pydevd' is not in the - ;; exception message, but it is due to being part - ;; 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_debugger_case_deadlock_interrupt_thread")) + (string-join + (list + ;; The two "break_01" tests have been failing on + ;; Python 3.10: + ;; <https://github.com/fabioz/PyDev.Debugger/issues/222>. + "not test_set_pydevd_break_01 " + ;; the GUI event loop requires an X server. + "test_gui_event_loop_custom" + ;; This test validates that 'pydevd' is not in the + ;; exception message, but it is due to being part + ;; of the build file name present in the message. + "test_evaluate_exception_trace" + ;; This test fail with TimeoutError, no message on stderr. + "test_soft_terminate" + "test_debugger_case_deadlock_interrupt_thread" + ;; subprocess.CalledProcessError + ;; Python 3.11/3.12 specific issue: + ;; <https://github.com/fabioz/PyDev.Debugger/issues/284>. + "test_find_main_thread_id") + " and not ")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-tests