[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/12: gnu: python-nose2: Update to 0.11.0.
From: |
guix-commits |
Subject: |
02/12: gnu: python-nose2: Update to 0.11.0. |
Date: |
Tue, 21 Jun 2022 11:43:11 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit c3f6049a410d6e1c8703fb6750ec6fa9646138cd
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jun 21 03:16:55 2022 +0200
gnu: python-nose2: Update to 0.11.0.
* gnu/packages/check.scm (python-nose2): Update to 0.11.0.
[arguments]: Add #:phases. Remove #:tests?.
[propagated-inputs]: Remove PYTHON-COV-CORE and PYTHON-PYTEST-COV.
[native-inputs]: Add PYTHON-COVERAGE.
---
gnu/packages/check.scm | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 5c8b547c0d..d67149d85a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -892,18 +892,28 @@ available via the @code{unittest.mock} module.")
(define-public python-nose2
(package
(name "python-nose2")
- (version "0.9.2")
+ (version "0.11.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "nose2" version))
(sha256
(base32
- "0pmbb6nk31yhgh4zkcblzxsznml7f7pf5q1ihgrwvbxv4mwzfql7"))))
+ "1scxwvwbgfdj41acma41xzdhcfdwjj9irj6sfifdbyf9dryqs83d"))))
(build-system python-build-system)
- (arguments `(#:tests? #f)) ; 'module' object has no attribute 'collector'
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Tests require nose2 itself.
+ (setenv "PYTHONPATH" (getcwd))
+ (invoke (string-append #$output "/bin/nose2") "-v")))))))
+ (native-inputs
+ (list python-coverage))
(propagated-inputs
- (list python-cov-core python-pytest-cov python-six))
+ (list python-six))
(home-page "https://github.com/nose-devs/nose2")
(synopsis "Next generation of nicer testing for Python")
(description
- branch master updated (d13ffd1580 -> d485faf633), guix-commits, 2022/06/21
- 02/12: gnu: python-nose2: Update to 0.11.0.,
guix-commits <=
- 03/12: gnu: python-pika: Update to 1.2.1., guix-commits, 2022/06/21
- 01/12: gnu: python-faiss: Fix build on Python 3.9., guix-commits, 2022/06/21
- 05/12: gnu: python-django-netfields: Update to 1.3.0., guix-commits, 2022/06/21
- 06/12: gnu: python-breathe: Update to 4.34.0., guix-commits, 2022/06/21
- 07/12: gnu: python-ipython-sql: Update to 0.4.1., guix-commits, 2022/06/21
- 11/12: gnu: python-prettytable: Update to 3.3.0., guix-commits, 2022/06/21
- 09/12: gnu: Add python-autopage., guix-commits, 2022/06/21
- 08/12: gnu: python-ipython-sql: Remove prettytable version constraint., guix-commits, 2022/06/21
- 04/12: gnu: python-django-auth-ldap: Update to 4.1.0., guix-commits, 2022/06/21
- 10/12: gnu: python-cliff: Update to 3.10.1., guix-commits, 2022/06/21