[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: |
Thu, 21 Nov 2024 06:29:21 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 868c0118e6debbbd2f000dd225d95605513c6f1e
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
- 187/361: gnu: python-jaraco-test: Move to pyproject-build-system., (continued)
- 187/361: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/11/21
- 193/361: gnu: python-apprise: Improve package style., guix-commits, 2024/11/21
- 194/361: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/21
- 196/361: gnu: python-flake8-isort: Move to pyproject-build-system., guix-commits, 2024/11/21
- 199/361: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/21
- 205/361: gnu: python-zope-i18nmessageid: Move to pyproject-build-system., guix-commits, 2024/11/21
- 212/361: gnu: python-multidict: Move to pyproject-build-system., guix-commits, 2024/11/21
- 213/361: gnu: python-warcio: Move to pyproject-build-system., guix-commits, 2024/11/21
- 215/361: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/11/21
- 217/361: gnu: python-qemu-qmp: Move to pyproject-build-system., guix-commits, 2024/11/21
- 216/361: gnu: python-qemu-qmp: Improve package style.,
guix-commits <=
- 29/361: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/21
- 31/361: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/21
- 228/361: gnu: python-automat: Update to 22.10.0., guix-commits, 2024/11/21
- 36/361: gnu: python-readme-renderer: Adjust package style., guix-commits, 2024/11/21
- 42/361: gnu: python-pynacl: Add missing inputs., guix-commits, 2024/11/21
- 51/361: gnu: python-partd: Add missing input., guix-commits, 2024/11/21
- 55/361: gnu: python-pyls-black: Add missing inputs., guix-commits, 2024/11/21
- 104/361: gnu: python-requests: Update to 2.31.0., guix-commits, 2024/11/21
- 133/361: gnu: python-ipykernel: Update to 6.29.4., guix-commits, 2024/11/21
- 293/361: gnu: beets-bandcamp: Add maintenance note., guix-commits, 2024/11/21