[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63176] [PATCH 06/10] gnu: python-pytest-doctestplus: Update to 0.12
From: |
Felix Gruber |
Subject: |
[bug#63176] [PATCH 06/10] gnu: python-pytest-doctestplus: Update to 0.12.1. |
Date: |
Sat, 29 Apr 2023 17:08:36 +0000 |
* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to 0.12.1.
[build-system]: Use pyproject-build-system.
[arguments]: Use #:test-flags instead of custom 'check phase.
---
gnu/packages/python-check.scm | 33 ++++++++++++++-------------------
1 file changed, 14 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c42cd426b1..f451a5e999 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2021, 2022 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com>
;;; Copyright © 2022 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
-;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
+;;; Copyright © 2022, 2023 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
@@ -577,30 +577,25 @@ (define-public python-pytest-arraydiff
(define-public python-pytest-doctestplus
(package
(name "python-pytest-doctestplus")
- (version "0.11.2")
+ (version "0.12.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-doctestplus" version))
(sha256
- (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk"))))
- (build-system python-build-system)
+ (base32 "10ciqylgziihxwxryxvxgmkqgws51pqcarn0gbh1d4cxx55rx5vs"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- ;; Make the installed plugin discoverable by Pytest.
- (when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest" "-k"
- (string-append ; skip tests that require remote data
- "not test_remote_data_url"
- " and not test_remote_data_float_cmp"
- " and not test_remote_data_ignore_whitespace"
- " and not test_remote_data_ellipsis"
- " and not test_remote_data_requires"
- " and not test_remote_data_ignore_warnings"))))))))
+ (list
+ #:test-flags
+ '(list "-k"
+ (string-append ; skip tests that require remote data
+ "not test_remote_data_url"
+ " and not test_remote_data_float_cmp"
+ " and not test_remote_data_ignore_whitespace"
+ " and not test_remote_data_ellipsis"
+ " and not test_remote_data_requires"
+ " and not test_remote_data_ignore_warnings"))))
(native-inputs
(list python-pytest python-setuptools-scm))
(home-page "https://github.com/astropy/pytest-doctestplus")
--
2.39.2
[bug#63176] [PATCH 06/10] gnu: python-pytest-doctestplus: Update to 0.12.1.,
Felix Gruber <=
[bug#63176] [PATCH 05/10] gnu: python-dolfin-adjoint: Fix build., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 07/10] gnu: python-pytest-httpx: Update to 0.22.0., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 09/10] gnu: python-pytest-astropy: Update to 0.10.0., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 04/10] gnu: hypre: Fix build., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 01/10] gnu: python-mpi4py: Update to 3.1.4., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 02/10] gnu: python-cftime: Update to 1.6.2., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 10/10] gnu: python-astropy: Update to 5.2.2., Felix Gruber, 2023/04/29
[bug#63176] [PATCH 08/10] gnu: python-pytest-remotedata: Update to 0.4.0., Felix Gruber, 2023/04/29