diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-24 22:40:18 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-25 12:50:56 +0100 |
commit | 2e91053dca6f278d2d949f565521d610796dfcc6 (patch) | |
tree | 0e4be17ac490e704e8f19b8a7bf163d817bd30ba | |
parent | 55d9b6ff118e777d3e56e5544e51d1c998619727 (diff) | |
download | guix-2e91053dca6f278d2d949f565521d610796dfcc6.tar.gz guix-2e91053dca6f278d2d949f565521d610796dfcc6.zip |
gnu: python-simpervisor: Fix tests.
* gnu/packages/python-xyz.scm (python-simpervisor) [arguments]
<test-flags>: Run test in a single thread, deselect one failing.
[native-inputs]: Remove python-pytest-xdist.
Change-Id: I2b5a2a9ad40d5b0d6156a4448776eafa91a01719
-rw-r--r-- | gnu/packages/python-xyz.scm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1f3d6a0695..911cfec2e1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -35207,26 +35207,25 @@ module patches @code{asyncio} to allow nested use of @code{asyncio.run} and (name "python-simpervisor") (version "1.0.0") (source - (origin - ;; Tests not included in release. - (method git-fetch) - (uri (git-reference - (url "https://github.com/yuvipanda/simpervisor") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0drvqxbr6fpydb4d7z5dhn97d578gf39sd8cawyl6ksf1f4y8yzg")))) + (origin + ;; Tests not included in release. + (method git-fetch) + (uri (git-reference + (url "https://github.com/yuvipanda/simpervisor") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0drvqxbr6fpydb4d7z5dhn97d578gf39sd8cawyl6ksf1f4y8yzg")))) (build-system pyproject-build-system) (arguments - (list - #:test-flags '(list "-n" (number->string (parallel-job-count))))) + ;; See <https://github.com/jupyterhub/simpervisor/issues/57> + (list #:test-flags #~(list "--deselect=tests/test_ready.py::test_ready"))) (native-inputs (list python-aiohttp python-hatchling python-psutil python-pytest - python-pytest-asyncio - python-pytest-xdist)) + python-pytest-asyncio)) (home-page "https://github.com/yuvipanda/simpervisor") (synopsis "Simple async process supervisor") (description |