[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/49: gnu: python-glymur: Speed up tests.
From: |
guix-commits |
Subject: |
15/49: gnu: python-glymur: Speed up tests. |
Date: |
Fri, 29 Mar 2024 11:15:22 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 2de864d20483c7f5a6f0a85dbec05e96b3d78720
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Mon Mar 11 18:41:34 2024 +0000
gnu: python-glymur: Speed up tests.
* gnu/packages/python-xyz.scm (python-glymur): Enable parallel
tests to speed them up.
[arguments] <#:test-flags>: Add it with "-n" option.
[native-inputs]: Add python-pytest-xdist.
Change-Id: Ied066330cc24a50b47307cefb2694675be8af0a4
---
gnu/packages/python-xyz.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3a7e85bcf9..11ea20aefb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1958,6 +1958,8 @@ Python library and command line interface.")
(build-system pyproject-build-system)
(arguments
(list
+ #:test-flags
+ #~(list "-n" "auto")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-library-locations
@@ -1983,7 +1985,9 @@ Python library and command line interface.")
;; which is patched above.
(delete-file "tests/test_config.py"))))))
(native-inputs
- (list python-pytest python-scikit-image))
+ (list python-pytest
+ python-pytest-xdist
+ python-scikit-image))
(inputs
(list openjpeg ; glymur/lib/openjp2.py
libtiff)) ; glymur/lib/tiff.py
- 12/49: gnu: python-distributed: Speed up tests., (continued)
- 12/49: gnu: python-distributed: Speed up tests., guix-commits, 2024/03/29
- 21/49: gnu: python-asdf-standard: Update to 1.1.1., guix-commits, 2024/03/29
- 24/49: gnu: python-asdf-coordinates-schemas: Update to 0.3.0., guix-commits, 2024/03/29
- 16/49: gnu: python-ginga: Update to 5.0.0., guix-commits, 2024/03/29
- 33/49: gnu: python-radiospectra: Update to 0.5.0., guix-commits, 2024/03/29
- 17/49: gnu: python-astropy-iers-data: Update to 0.2024.3.18.0.29.47., guix-commits, 2024/03/29
- 18/49: gnu: python-cdflib: Update to 1.2.6., guix-commits, 2024/03/29
- 25/49: gnu: python-asdf-wcs-schemas: Update to 0.4.0., guix-commits, 2024/03/29
- 34/49: gnu: python-glymur: Update to 0.12.9., guix-commits, 2024/03/29
- 22/49: gnu: python-asdf-transform-schemas: Update to 0.5.0., guix-commits, 2024/03/29
- 15/49: gnu: python-glymur: Speed up tests.,
guix-commits <=
- 27/49: gnu: python-pyvo: Update to 1.5.1., guix-commits, 2024/03/29
- 29/49: gnu: python-gwcs: Update to 0.21.0., guix-commits, 2024/03/29
- 31/49: gnu: python-suntime: Update to 1.3.2., guix-commits, 2024/03/29
- 32/49: gnu: python-suntime: Refresh package style., guix-commits, 2024/03/29
- 35/49: gnu: python-specutils: Update to 1.13.0., guix-commits, 2024/03/29
- 37/49: gnu: python-stcal: Enable sanity check., guix-commits, 2024/03/29
- 47/49: gnu: Add python-pytest-examples., guix-commits, 2024/03/29
- 42/49: gnu: Add python-asdf-compression., guix-commits, 2024/03/29
- 49/49: gnu: python-hvpy: Update to 1.1.0., guix-commits, 2024/03/29
- 03/49: gnu: python-blosc: Move to python-compression., guix-commits, 2024/03/29