[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69924] [PATCH 07/49] gnu: python-pytest-arraydiff: Enable tests.
From: |
Sharlatan Hellseher |
Subject: |
[bug#69924] [PATCH 07/49] gnu: python-pytest-arraydiff: Enable tests. |
Date: |
Wed, 20 Mar 2024 22:27:37 +0000 |
* gnu/packages/python-check.scm (python-pytest-arraydiff): Enable tests.
[build-system]: Swap to pyproject-build-system.
[arguments] <#:test-flags>: Disable tests requiring python-astropy to
break dependencies cycle.
Change-Id: I0e4b6681d106a999c6fc12c3fd8c8f084762a92e
---
gnu/packages/python-check.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index fe96bd297c..beb151178d 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -552,13 +552,18 @@ (define-public python-pytest-arraydiff
(uri (pypi-uri "pytest-arraydiff" version))
(sha256
(base32 "1pk7v96rkypx4ld59f6p8fh5bq371ka8g7bh4h7n4df91x2v2dr9"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- ;; Tests require python-astropy, which itself requires this package.
- ;; Disable tests to avoid the circular dependency problem.
- '(#:tests? #f))
+ (list
+ #:test-flags
+ #~(list "-k" (string-append
+ ;; Disable tests requiring python-astropy, to break cycle.
+ "not test_succeeds_func_fits_hdu"
+ " and not test_fails"
+ " and not test_generate"
+ " and not test_default_format"))))
(native-inputs
- (list python-pytest python-setuptools-scm)) ; for sanity-check
+ (list python-pytest python-setuptools-scm))
(propagated-inputs
(list python-numpy))
(home-page "https://github.com/astropy/pytest-arraydiff")
--
2.41.0
- [bug#69924] [PATCH 05/49] gnu: python-pytest-doctestplus: Update to 1.2.0., (continued)
- [bug#69924] [PATCH 05/49] gnu: python-pytest-doctestplus: Update to 1.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 11/49] gnu: python-zarr: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 04/49] gnu: python-blosc: Simplify package., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 03/49] gnu: python-blosc: Move to python-compression., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 14/49] gnu: python-stdatamodels: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 08/49] gnu: python-pytest-filter-subpackage: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 17/49] gnu: python-astropy-iers-data: Update to 0.2024.3.18.0.29.47., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 09/49] gnu: python-zarr: Update to 2.17.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 13/49] gnu: python-dask: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 20/49] gnu: python-asdf-unit-schemas: Update to 0.2.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 07/49] gnu: python-pytest-arraydiff: Enable tests.,
Sharlatan Hellseher <=
- [bug#69924] [PATCH 18/49] gnu: python-cdflib: Update to 1.2.6., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 19/49] gnu: python-cdflib: Enable all tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 16/49] gnu: python-ginga: Update to 5.0.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 12/49] gnu: python-distributed: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 21/49] gnu: python-asdf-standard: Update to 1.1.1., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 15/49] gnu: python-glymur: Speed up tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 22/49] gnu: python-asdf-transform-schemas: Update to 0.5.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 23/49] gnu: python-asdf: Update to 3.1.0., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 10/49] gnu: python-partd: Enable tests., Sharlatan Hellseher, 2024/03/20
- [bug#69924] [PATCH 28/49] gnu: python-astroquery: Update to 0.4.7., Sharlatan Hellseher, 2024/03/20