[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
94/299: gnu: python-testtools: Update to 2.7.2.
From: |
guix-commits |
Subject: |
94/299: gnu: python-testtools: Update to 2.7.2. |
Date: |
Mon, 13 Jan 2025 15:18:06 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit f5db4061d4448eb944e5f346d4629c1b689ad1a6
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 30 23:27:43 2024 +0100
gnu: python-testtools: Update to 2.7.2.
* gnu/packages/check.scm (python-testtools-bootstrap):
Update to 2.7.2.
[propagated-inputs]: Drop labels.
[native-inputs]: Add python-hatchling, python-hatch-vcs, and
python-setuptools.
[build-system]: Use pyproject-build-system.
(python-testtools): Update to 2.7.2.
[arguments]: Disable some tests.
[native-inputs]: Add python-hatch-vcs, python-hatchling, python-twisted, and
python-setuptools.
Change-Id: I7c065b490229ecf4c11257c709b439521ef14222
---
gnu/packages/check.scm | 34 +++++++++++++++++++++++++---------
1 file changed, 25 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index e28564c0b0..9fbc1de8df 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2196,19 +2196,21 @@ subprocess and see the output as well as any file
modifications.")
(define-public python-testtools-bootstrap
(package
(name "python-testtools-bootstrap")
- (version "2.6.0")
+ (version "2.7.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "testtools" version))
(sha256
(base32
- "02mkphygx8897617m8qnmj0alksyvvfcjmazzfxyrlzjq0a5xdi8"))))
- (build-system python-build-system)
- (arguments '(#:tests? #f))
+ "18vy77n4ab2dvgx5ni6gfp2d0haxhh3yrkm6mih8n3zsy30vprav"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f))
(propagated-inputs
- `(("python-fixtures" ,python-fixtures-bootstrap)
- ("python-pbr" ,python-pbr-minimal)))
+ (list python-fixtures-bootstrap python-pbr-minimal))
+ (native-inputs
+ (list python-hatchling python-hatch-vcs
+ python-setuptools)) ;due to python-pbr-minimal
(home-page "https://github.com/testing-cabal/testtools")
(synopsis
"Extensions to the Python standard library unit testing framework")
@@ -2221,17 +2223,31 @@ subprocess and see the output as well as any file
modifications.")
(inherit python-testtools-bootstrap)
(name "python-testtools")
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:phases
+ '(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
+ ;; There are six failing tests:
+ ;; "test_fast_keyboard_interrupt_stops_test_run"
+ ;; "test_keyboard_interrupt_stops_test_run"
+ ;; "test_fast_sigint_raises_no_result_error"
+ ;; "test_fast_sigint_raises_no_result_error_second_time"
+ ;; "test_sigint_raises_no_result_error"
+ ;; "test_sigint_raises_no_result_error_second_time"
+ (substitute* "testtools/tests/twistedsupport/__init__.py"
+ (("test_spinner,") "")
+ (("test_runtest,") ""))
(invoke "python" "-m" "testtools.run"
"testtools.tests.test_suite")))))))
(propagated-inputs
(list python-fixtures python-pbr))
(native-inputs
- `(("python-testscenarios" ,python-testscenarios-bootstrap)))
+ (list python-hatchling python-hatch-vcs
+ python-testscenarios-bootstrap
+ python-twisted
+ python-setuptools)) ;due to python-pbr
(description
"Testtools extends the Python standard library unit testing framework to
provide matchers, more debugging information, and cross-Python
- 53/299: gnu: python-pandas-2: Restrict number of test processes., (continued)
- 53/299: gnu: python-pandas-2: Restrict number of test processes., guix-commits, 2025/01/13
- 46/299: gnu: python-dnspython: Update to 2.7.0., guix-commits, 2025/01/13
- 63/299: gnu: python-annotated-types: Update to 0.7.0., guix-commits, 2025/01/13
- 64/299: gnu: Add rust-jiter-0.2., guix-commits, 2025/01/13
- 66/299: gnu: python-pydantic-2: Update to 2.7.0., guix-commits, 2025/01/13
- 81/299: gnu: python-rdflib-6: Disable one test., guix-commits, 2025/01/13
- 75/299: gnu: python-rdflib-6: Update to 6.3.2., guix-commits, 2025/01/13
- 83/299: gnu: python-prov: Update to 2.0.1., guix-commits, 2025/01/13
- 87/299: gnu: python-cryptography-vectors: Update to 44.0.0., guix-commits, 2025/01/13
- 90/299: gnu: python-trio: Update to 0.28.0., guix-commits, 2025/01/13
- 94/299: gnu: python-testtools: Update to 2.7.2.,
guix-commits <=
- 99/299: gnu: python-tables: Fix reference to library., guix-commits, 2025/01/13
- 100/299: gnu: python-scikit-opt: Add missing input., guix-commits, 2025/01/13
- 97/299: gnu: python-openapi-core: Update to 0.19.4., guix-commits, 2025/01/13
- 102/299: gnu: Add python-expandvars., guix-commits, 2025/01/13
- 98/299: gnu: python-openapi-spec-validator: Restore sanity check., guix-commits, 2025/01/13
- 109/299: gnu: python-aiohttp-socks: Update to 0.10.1., guix-commits, 2025/01/13
- 115/299: gnu: python-jsonargparse: Remove old version of dataclasses., guix-commits, 2025/01/13
- 117/299: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/13
- 108/299: gnu: python-socks: Update to 2.6.1., guix-commits, 2025/01/13
- 119/299: gnu: python-botocore: Limit number of parallel test workers., guix-commits, 2025/01/13