[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
216/361: gnu: python-qemu-qmp: Improve package style.
From: |
guix-commits |
Subject: |
216/361: gnu: python-qemu-qmp: Improve package style. |
Date: |
Fri, 22 Nov 2024 06:00:44 -0500 (EST) |
andreas pushed a commit to branch python-team
in repository guix.
commit fcb06e56b00db1aa8423237f9a444b0bd75932b2
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:54:23 2024 +0200
gnu: python-qemu-qmp: Improve package style.
* gnu/packages/virtualization.scm (python-qemu-qmp):
[arguments]<#:phases>: Rewrite check phase replacement to only run
tests/protocol.py and not quality-checks.
Change-Id: I3485e2ee10d46b1699674f506876e7c185674653
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/virtualization.scm | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 871a556724..aaa39f07f5 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2092,13 +2092,11 @@ mainly implemented in user space.")
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The Avocado test runner insists on writing stuff to HOME.
- (setenv "HOME" "/tmp")
- ;; The mypy tests fail (see:
- ;; https://gitlab.com/jsnow/qemu.qmp/-/issues/1).
- (delete-file "tests/mypy.sh")
- (invoke "avocado" "--show=all" "run" "tests")))))))
+ (if tests?
+ (begin ; avocado insists on writing stuff to HOME.
+ (setenv "HOME" "/tmp")
+ (invoke "avocado" "--show=all" "run" "tests/protocol.py"))
+ (format #t "test suite not run~%")))))))
(native-inputs
(list python-avocado-framework
python-setuptools-scm
- 190/361: gnu: python-sparse: Move to pyproject-build-system., (continued)
- 190/361: gnu: python-sparse: Move to pyproject-build-system., guix-commits, 2024/11/22
- 193/361: gnu: python-apprise: Improve package style., guix-commits, 2024/11/22
- 194/361: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/22
- 203/361: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/22
- 204/361: gnu: python-typeguard-4: Ignore failing tests., guix-commits, 2024/11/22
- 206/361: gnu: python-funsor: Ignore flaky test., guix-commits, 2024/11/22
- 207/361: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/11/22
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/22
- 212/361: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/22
- 214/361: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/11/22
- 216/361: gnu: python-qemu-qmp: Improve package style.,
guix-commits <=
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/22
- 227/361: gnu: python-altair: Adjust inputs., guix-commits, 2024/11/22
- 232/361: gnu: python-django-4.2: Adjust inputs., guix-commits, 2024/11/22
- 233/361: gnu: python-immutables: Update to 0.21., guix-commits, 2024/11/22
- 234/361: gnu: python-jsonpickle: Adjust inputs., guix-commits, 2024/11/22
- 236/361: gnu: python-lightning-utilities: Adjust inputs., guix-commits, 2024/11/22
- 243/361: gnu: python-twine: Adjust inputs., guix-commits, 2024/11/22
- 244/361: gnu: python-notebook: Disable more failing tests., guix-commits, 2024/11/22
- 246/361: gnu: python-docstring-to-markdown: Adjust inputs., guix-commits, 2024/11/22
- 255/361: gnu: Add python-stdio-mgr., guix-commits, 2024/11/22