guix_mirror_bot pushed a commit to branch master
in repository guix.
commit bee81b5d399ec61457918c0bf3ef53b4d9bb19d1
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 24 23:32:23 2025 +0200
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 <[email protected]>
---
gnu/packages/python-xyz.scm | 13 +++++++++----
1 file 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")