aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 22:47:54 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-12-13 22:48:07 +0000
commit09a342bc785cca12e895f7376c5febf89f90467e (patch)
treee4371088a3025f9f18e940c5a7edd18377f3a8c0 /gnu/packages/python-xyz.scm
parentc8657724eb503adc5ca8f450aa17f5d7d80621ab (diff)
downloadguix-09a342bc785cca12e895f7376c5febf89f90467e.tar.gz
guix-09a342bc785cca12e895f7376c5febf89f90467e.zip
gnu: python-pydevd: Enable parallel tests.
* gnu/packages/python-xyz.scm (python-pydevd) [arguments]<test-flags>: Enable parallel tests, passing on 16 threads and with a fresh version of python-pytest. <phases>: Remove test deletion procedure from 'fix-tests as all of them passing. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: Iab5a87428f6ffd440a966fa357daf2c189fef708
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 5 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a757d5d476..1a54a76485 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17697,7 +17697,7 @@ libmagic.")))
(arguments
(list
#:test-flags
- #~(list "-n" "0" ; fails: (number->string (parallel-job-count))
+ #~(list "-n" (number->string (parallel-job-count))
"-k"
(string-append
;; The two "break_01" tests have been failing on
@@ -17719,12 +17719,7 @@ libmagic.")))
(substitute* "tests_python/test_convert_utilities.py"
;; Add missing trailing '/'.
(("\"\\\\\\\\usr\\\\\\\\bin\\\\\\\\\") == \"/usr/bin" all)
- (string-append all "/")))
- ;; pytest-xdist's parallel tests would fail that test.
- ;; So we disabled parallel tests.
- ;(delete-file "tests_python/test_utilities.py") ; test_is_main_thread
- ;; TODO: fix.
- (delete-file "tests_python/test_debugger_json.py"))) ; test_soft_terminate timeout
+ (string-append all "/")))))
(add-after 'unpack 'patch-command-paths
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "_pydevd_bundle/pydevd_api.py"
@@ -17772,8 +17767,10 @@ libmagic.")))
python-psutil
python-pytest
python-pytest-xdist
+ python-setuptools
python-trio
- python-untangle))
+ python-untangle
+ python-wheel))
(inputs (list coreutils gdb/pinned procps))
(home-page "https://github.com/fabioz/PyDev.Debugger/")
(synopsis "Python debugger")