summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 23:32:23 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-25 11:32:13 +0100
commitbee81b5d399ec61457918c0bf3ef53b4d9bb19d1 (patch)
tree75d3ba46a74ba6c04079c2ba6c5cda7454f8d2d7 /gnu/packages/python-xyz.scm
parent5b0ae597de722f303a280fb945fd791e8e8190a1 (diff)
gnu: python-pyvirtualdisplay: Enable tests.
* gnu/packages/python-xyz.scm (python-pyvirtualdisplay): [arguemnts]<#:tests?>: Enable them. <#:test-flags>: Disable failing tests. [native-inputs]: Remove python-pytest-runner. Add python-vncdotool-bootstrap, xmessage and xorg-server-for-tests. Change-Id: If829e4100a4a361d4bed67c0a55d4a6e193b3820 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c48084a236..39bda1b4b7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24073,12 +24073,17 @@ etc.")
(base32 "0nb1s7nilakrkcm0vq08pz9mh8rzyhjm9jkyn1gp5sxnrv1mnx89"))))
(build-system pyproject-build-system)
(arguments
- ;; Tests fail with:
- ;; FileNotFoundError: [Errno 2] No such file or directory: 'Xvnc'.
- `(#:tests? #f))
+ (list
+ #:test-flags
+ #~(list "--ignore=tests/test_examples.py"
+ ;; OSError: Pillow was built without XCB support
+ "--ignore=tests/test_smart.py"
+ "--ignore=tests/test_smart2.py"
+ "--ignore=tests/test_smart_thread.py")))
(native-inputs
(list python-entrypoint2 python-psutil python-pytest
- python-pytest-runner python-setuptools python-wheel))
+ python-setuptools python-vncdotool-bootstrap python-wheel
+ xmessage xorg-server-for-tests))
(propagated-inputs
(list python-easyprocess python-pillow))
(home-page "https://github.com/ponty/pyvirtualdisplay")