[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/13: gnu: python-pytest-doctestplus: Update to 1.2.1.
From: |
guix-commits |
Subject: |
06/13: gnu: python-pytest-doctestplus: Update to 1.2.1. |
Date: |
Fri, 22 Nov 2024 10:48:02 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 22f5df5fad73a3b5cf329423c991f7e53b542e8f
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Nov 22 12:35:26 2024 +0000
gnu: python-pytest-doctestplus: Update to 1.2.1.
* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to
1.2.1.
[arguments]<test-flags>: Enable tests requiring git.
<phases>: Add 'patch-git-path phase.
[native-inputs]: Add git-minimal/pinned.
Change-Id: If9fbec52481cc86581058e379e2f4f82ad7f1b2c
---
gnu/packages/python-check.scm | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 4492346072..b997118eac 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -54,6 +54,7 @@
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
@@ -791,28 +792,37 @@ files and/or directories.")
(define-public python-pytest-doctestplus
(package
(name "python-pytest-doctestplus")
- (version "1.2.0")
+ (version "1.2.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-doctestplus" version))
(sha256
- (base32 "0cmrkgpib869kpy8h8hfkg20w16lakkmbkw8cxdywpmf5wx7dbf5"))))
+ (base32 "0ybn613rp0wqzm97hncwnpn8wx7bz91rajgnclplv8yfr2iahwi4"))))
(build-system pyproject-build-system)
(arguments
- (list #:test-flags
- #~(list "-k" (string-append
- ;; Tests requiring network access.
- "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"
- ;; Requiring git available.
- " and not test_generate_diff_basic"))))
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ ;; Tests requiring network access.
+ (list "not test_remote_data_url"
+ "test_remote_data_float_cmp"
+ "test_remote_data_ignore_whitespace"
+ "test_remote_data_ellipsis"
+ "test_remote_data_requires"
+ "test_remote_data_ignore_warnings")
+ " and not "))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-git-path
+ (lambda _
+ (substitute* "pytest_doctestplus/plugin.py"
+ (("\"git\"")
+ (format #f "'~a/bin/git'"
+ #$(this-package-native-input "git-minimal")))))))))
(native-inputs
- (list python-numpy
+ (list git-minimal/pinned
+ python-numpy
python-pytest
python-setuptools-scm
python-wheel))
- branch python-team updated (3caebd91fa -> 4d37afea90), guix-commits, 2024/11/22
- 04/13: gnu: Remove python-pytest-catchlog., guix-commits, 2024/11/22
- 02/13: gnu: python-tinycss2: Update to 1.4.0., guix-commits, 2024/11/22
- 06/13: gnu: python-pytest-doctestplus: Update to 1.2.1.,
guix-commits <=
- 07/13: gnu: python-pytest-flask: Update to 1.3.0., guix-commits, 2024/11/22
- 08/13: gnu: Add python-pytest-lazy-fixtures., guix-commits, 2024/11/22
- 13/13: gnu: python-fastjsonschema: Update to 2.20.0., guix-commits, 2024/11/22
- 01/13: gnu: python-pytest-asyncio: Update to 0.24.0., guix-commits, 2024/11/22
- 03/13: gnu: python-qstylizer: Update to 0.2.4., guix-commits, 2024/11/22
- 05/13: gnu: python-pytest-flake8: Update to 1.3.0., guix-commits, 2024/11/22
- 09/13: gnu: python-prettytable: Update to 3.12.0., guix-commits, 2024/11/22
- 10/13: gnu: python-pytest-metadata: Update to 3.1.1., guix-commits, 2024/11/22
- 11/13: gnu: python-pytest-random-order: Update to 1.1.1., guix-commits, 2024/11/22
- 12/13: gnu: python-pytest-remotedata: Fix tests., guix-commits, 2024/11/22