diff options
| author | Hugo Buddelmeijer <hugo@buddelmeijer.nl> | 2025-10-23 17:47:16 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-29 21:02:42 +0000 |
| commit | d5e5bbc5cc28988a07f06ad959ce9c25b2e8bd4a (patch) | |
| tree | 94345eee522a7253a98ced1044a2a22e3c7db1ef /gnu/packages | |
| parent | 86f8e74255a368fb24dc36eef8cab71f990178dd (diff) | |
gnu: python-gipc: Enable tests.
* gnu/packages/python-xyz.scm (python-gipc)
[arguments] <tests?>: Enable them.
<phases>: Add 'adjust-for-pytest-8 phase.
Change-Id: Ib118dfd8f6cff1400e19880f1a96460fbac343b9
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 022ca33d3ec..3905d6806ce 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27281,10 +27281,19 @@ Glob2 currently based on the glob code from Python 3.3.1.") (base32 "18w1fi3gh8i3kl58n6jpixzc2w42znxqhb3lj6hwn1641wq2hyrz")))) (build-system pyproject-build-system) (arguments - ;; Some tests seem to require an older version of pytest. - (list #:tests? #f)) - (native-inputs (list python-pytest python-setuptools)) - (propagated-inputs (list python-gevent)) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'adjust-for-pytest-8 + (lambda _ + (substitute* "test/test_gipc.py" + (("def setup") "def setup_method") + (("def teardown") "def teardown_method"))))))) + (native-inputs + (list python-pytest + python-setuptools)) + (propagated-inputs + (list python-gevent)) (home-page "https://gehrcke.de/gipc/") (synopsis "Child process management in the context of gevent") (description |
