[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/49: gnu: python-pytest-arraydiff: Enable tests.
From: |
guix-commits |
Subject: |
07/49: gnu: python-pytest-arraydiff: Enable tests. |
Date: |
Fri, 29 Mar 2024 11:15:20 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit 2f3a26eedf47449f7d4733b230f1bafc36e6b75b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Mar 5 22:36:13 2024 +0000
gnu: python-pytest-arraydiff: Enable tests.
* 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 b389c3247f..551b67d81c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -553,13 +553,18 @@ astropy related packages.")
(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")
- branch master updated (8ed9ce9d00 -> b0b9d757a7), guix-commits, 2024/03/29
- 02/49: gnu: splash: Update to 3.10.3., guix-commits, 2024/03/29
- 07/49: gnu: python-pytest-arraydiff: Enable tests.,
guix-commits <=
- 05/49: gnu: python-pytest-doctestplus: Update to 1.2.0., guix-commits, 2024/03/29
- 06/49: gnu: python-pytest-arraydiff: Update to 0.6.1., guix-commits, 2024/03/29
- 11/49: gnu: python-zarr: Speed up tests., guix-commits, 2024/03/29
- 13/49: gnu: python-dask: Speed up tests., guix-commits, 2024/03/29
- 01/49: gnu: calcmysky: Update to 0.3.2., guix-commits, 2024/03/29
- 08/49: gnu: python-pytest-filter-subpackage: Update to 0.2.0., guix-commits, 2024/03/29
- 10/49: gnu: python-partd: Enable tests., guix-commits, 2024/03/29
- 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