[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/18: gnu: python-pytest-doctestplus: Update to 0.12.1.
From: |
guix-commits |
Subject: |
03/18: gnu: python-pytest-doctestplus: Update to 0.12.1. |
Date: |
Mon, 8 May 2023 05:51:46 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit bb38261b5d878ef93a72ca82bf8312767dde0d17
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Apr 28 00:43:00 2023 +0100
gnu: python-pytest-doctestplus: Update to 0.12.1.
* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to
0.12.1.
[build-system]: Use pyproject-build-system.
[arguments]<phases>: Remove modify-phases and add test-flags option
instead.
[native-inputs]: Add python-numpy.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/python-check.scm | 31 ++++++++++++-------------------
1 file changed, 12 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 91a01df2ce..f17a51996e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -577,32 +577,25 @@ are too large to conveniently hard-code them in the
tests.")
(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
+ "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))
+ (list python-numpy python-pytest python-setuptools-scm))
(home-page "https://github.com/astropy/pytest-doctestplus")
(synopsis "Pytest plugin with advanced doctest features")
(description
- branch master updated (0e09e8ab15 -> 12c529c071), guix-commits, 2023/05/08
- 04/18: gnu: Add h3., guix-commits, 2023/05/08
- 01/18: gnu: openttd-engine: Update to 13.1., guix-commits, 2023/05/08
- 09/18: gnu: python-pytest-astropy: Simplify package., guix-commits, 2023/05/08
- 03/18: gnu: python-pytest-doctestplus: Update to 0.12.1.,
guix-commits <=
- 06/18: gnu: Add python-h3., guix-commits, 2023/05/08
- 07/18: gnu: Add python-timezonefinder., guix-commits, 2023/05/08
- 05/18: gnu: Sort use-module alphabetically in (gnu packages geo)., guix-commits, 2023/05/08
- 08/18: gnu: python-pytest-filter-subpackage: Update to 0.1.2., guix-commits, 2023/05/08
- 02/18: gnu: tio: Update to 2.5., guix-commits, 2023/05/08
- 10/18: gnu: python-extension-helpers: Update to 1.0.0., guix-commits, 2023/05/08
- 13/18: gnu: python-pytest-remotedata: Update to 0.4.0., guix-commits, 2023/05/08
- 16/18: gnu: python-astropy: Update to 5.2.2., guix-commits, 2023/05/08
- 18/18: gnu: python-bottleneck: Honor #:tests? flag., guix-commits, 2023/05/08
- 14/18: gnu: python-pytest-arraydiff: Update to 0.5.0., guix-commits, 2023/05/08