summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-04-24 22:40:18 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-04-25 12:50:56 +0100
commit2e91053dca6f278d2d949f565521d610796dfcc6 (patch)
tree0e4be17ac490e704e8f19b8a7bf163d817bd30ba /gnu
parent55d9b6ff118e777d3e56e5544e51d1c998619727 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1f3d6a06959..911cfec2e17 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
35207 (name "python-simpervisor") 35207 (name "python-simpervisor")
35208 (version "1.0.0") 35208 (version "1.0.0")
35209 (source 35209 (source
35210 (origin 35210 (origin
35211 ;; Tests not included in release. 35211 ;; Tests not included in release.
35212 (method git-fetch) 35212 (method git-fetch)
35213 (uri (git-reference 35213 (uri (git-reference
35214 (url "https://github.com/yuvipanda/simpervisor") 35214 (url "https://github.com/yuvipanda/simpervisor")
35215 (commit (string-append "v" version)))) 35215 (commit (string-append "v" version))))
35216 (file-name (git-file-name name version)) 35216 (file-name (git-file-name name version))
35217 (sha256 35217 (sha256
35218 (base32 "0drvqxbr6fpydb4d7z5dhn97d578gf39sd8cawyl6ksf1f4y8yzg")))) 35218 (base32 "0drvqxbr6fpydb4d7z5dhn97d578gf39sd8cawyl6ksf1f4y8yzg"))))
35219 (build-system pyproject-build-system) 35219 (build-system pyproject-build-system)
35220 (arguments 35220 (arguments
35221 (list 35221 ;; See <https://github.com/jupyterhub/simpervisor/issues/57>
35222 #:test-flags '(list "-n" (number->string (parallel-job-count))))) 35222 (list #:test-flags #~(list "--deselect=tests/test_ready.py::test_ready")))
35223 (native-inputs 35223 (native-inputs
35224 (list python-aiohttp 35224 (list python-aiohttp
35225 python-hatchling 35225 python-hatchling
35226 python-psutil 35226 python-psutil
35227 python-pytest 35227 python-pytest
35228 python-pytest-asyncio 35228 python-pytest-asyncio))
35229 python-pytest-xdist))
35230 (home-page "https://github.com/yuvipanda/simpervisor") 35229 (home-page "https://github.com/yuvipanda/simpervisor")
35231 (synopsis "Simple async process supervisor") 35230 (synopsis "Simple async process supervisor")
35232 (description 35231 (description