[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
189/195: gnu: python-qemu-qmp: Improve package style.
From: |
guix-commits |
Subject: |
189/195: gnu: python-qemu-qmp: Improve package style. |
Date: |
Tue, 15 Oct 2024 03:30:13 -0400 (EDT) |
sharlatan pushed a commit to branch python-team-rebased
in repository guix.
commit 085106a36f49ef02b5270ef79d4af0a90736a4c8
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 ae9538c61f..60a0ec9a2c 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -2083,13 +2083,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
- 72/195: gnu: python-lazy-object-proxy: Update to 1.10.0., (continued)
- 72/195: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/10/15
- 151/195: gnu: abjad-ext-nauert: Update to 3.19., guix-commits, 2024/10/15
- 154/195: gnu: python-cairosvg: Move to pyproject-build-system., guix-commits, 2024/10/15
- 155/195: gnu: python-docspec-python: Move to pyproject-build-system., guix-commits, 2024/10/15
- 160/195: gnu: python-jaraco-test: Move to pyproject-build-system., guix-commits, 2024/10/15
- 179/195: gnu: python-funsor: Ignore flaky test., guix-commits, 2024/10/15
- 175/195: gnu: python-uqbar: Upgrade to python-team branch., guix-commits, 2024/10/15
- 168/195: gnu: python-orderedmultidict: Move to pyproject-build-system., guix-commits, 2024/10/15
- 194/195: gnu: python-websockets: Move to pyproject-build-system., guix-commits, 2024/10/15
- 164/195: gnu: python-pytest-enabler: Break dependency cycle., guix-commits, 2024/10/15
- 189/195: gnu: python-qemu-qmp: Improve package style.,
guix-commits <=
- 176/195: gnu: python-uqbar: Update to 0.6.9., guix-commits, 2024/10/15
- 173/195: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/10/15
- 71/195: gnu: python-pydata-sphinx-theme: Disable one test., guix-commits, 2024/10/15
- 182/195: gnu: python-fenics-dijitso: Move to pyproject-build-system., guix-commits, 2024/10/15