[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63136] [PATCH 11/14] gnu: python-pytest-remotedata: Update to 0.4.0
From: |
Sharlatan Hellseher |
Subject: |
[bug#63136] [PATCH 11/14] gnu: python-pytest-remotedata: Update to 0.4.0. |
Date: |
Fri, 28 Apr 2023 00:43:10 +0100 |
* gnu/packages/python-check.scm (python-pytest-remotedata): Update to
0.4.0.
[build-system]: Use pyproject-build-system.
[arguments]<phases>: Simplify by removing not required phase
modification and use <test-flags> instead.
[native-inputs]: Add python-setuptools-scm.
[propagated-inputs]: Delete python-six, add python-packaging.
---
gnu/packages/python-check.scm | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index b5a68143f3..71bbf59d49 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -735,30 +735,23 @@ (define-public python-pytest-openfiles
(define-public python-pytest-remotedata
(package
(name "python-pytest-remotedata")
- (version "0.3.2")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-remotedata" version))
(sha256
- (base32 "1h6g6shib6z07azf12rnsa053470ggbd7hy3bnbw8nf3nza5h372"))))
- (build-system python-build-system)
+ (base32 "1j5106j331cfdyfcwzrbs3yby84mq1b0kddfysq12z2dwdcca8dy"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- ;; Make the installed plugin discoverable by Pytest.
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "-k"
- (string-append
- ;; These tests require internet access. Disable them.
- "not test_default_behavior"
- " and not test_strict_with_decorator")))))))
+ (list
+ #:test-flags #~(list "-k" (string-append
+ "not test_default_behavior"
+ " and not test_strict_with_decorator"))))
(native-inputs
- (list python-pytest))
+ (list python-pytest python-setuptools-scm))
(propagated-inputs
- (list python-six))
+ (list python-packaging))
(home-page "https://github.com/astropy/pytest-remotedata")
(synopsis "Pytest plugin for controlling remote data access")
(description
--
2.39.2
- [bug#63136] [PATCH 04/14] gnu: Add python-h3., (continued)
- [bug#63136] [PATCH 04/14] gnu: Add python-h3., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 02/14] gnu: Add h3., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 06/14] gnu: pytest-filter-subpackage: Update to 0.1.2., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 05/14] gnu: Add python-timezonefinder., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 07/14] gnu: python-pytest-astropy: Simplify package., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 08/14] gnu: python-extension-helpers: Update to 1.0.0., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 10/14] gnu: python-skyfield: Update to 1.46., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 12/14] gnu: python-pytest-arraydiff: Update to 0.5.0., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 14/14] gnu: python-astropy: Update to 5.2.2, fix build., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 09/14] gnu: python-jplephem: Update to 2.18., Sharlatan Hellseher, 2023/04/27
- [bug#63136] [PATCH 11/14] gnu: python-pytest-remotedata: Update to 0.4.0.,
Sharlatan Hellseher <=
- [bug#63136] [PATCH 13/14] gnu: python-pytest-mpl: Update to 0.16.1., Sharlatan Hellseher, 2023/04/27