[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
216/222: gnu: python-qemu-qmp: Improve package style.
From: |
guix-commits |
Subject: |
216/222: gnu: python-qemu-qmp: Improve package style. |
Date: |
Fri, 1 Nov 2024 10:56:54 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit d7385bf99043fa5da7545eefa3628fcb779f12ac
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 a594c8a98e..9d57b7e09c 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2085,13 +2085,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
- 152/222: gnu: qtile: Improve package style., (continued)
- 152/222: gnu: qtile: Improve package style., guix-commits, 2024/11/01
- 166/222: gnu: gunicorn: Update to 21.2.0., guix-commits, 2024/11/01
- 164/222: gnu: python-nbval: Move to pyproject-build-system., guix-commits, 2024/11/01
- 177/222: gnu: abjad-ext-rmakers: Update to 3.19., guix-commits, 2024/11/01
- 199/222: gnu: python-cmd2: Move to pyproject-build-system., guix-commits, 2024/11/01
- 200/222: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/01
- 203/222: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/11/01
- 205/222: gnu: python-zope-i18nmessageid: Move to pyproject-build-system., guix-commits, 2024/11/01
- 206/222: gnu: python-funsor: Ignore flaky test., guix-commits, 2024/11/01
- 215/222: gnu: python-matplotlib: Ignore failing tests., guix-commits, 2024/11/01
- 216/222: gnu: python-qemu-qmp: Improve package style.,
guix-commits <=
- 219/222: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/01
- 186/222: gnu: python-jaraco-packaging: Move to pyproject-build-system., guix-commits, 2024/11/01
- 192/222: gnu: python-pint: Disable benchmark tests., guix-commits, 2024/11/01
- 196/222: gnu: python-flake8-isort: Move to pyproject-build-system., guix-commits, 2024/11/01
- 197/222: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/11/01
- 207/222: gnu: borgmatic: Move to pyproject-build-system., guix-commits, 2024/11/01
- 221/222: gnu: python-websockets: Adjust inputs., guix-commits, 2024/11/01
- 185/222: gnu: python-jaraco-functools: Move to pyproject-build-system., guix-commits, 2024/11/01