summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-23 22:57:18 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:50 +0100
commit5403940d77551b76c389a3dfb16131ae51d8eb75 (patch)
treeb047aa18c63a415f31984a7e1aa323ec52f9f505 /gnu/packages/python-check.scm
parent2d50711f052799ff6ebb153d7b6bbbe378249982 (diff)
gnu: python-stestr: Update to 4.2.0.
* gnu/packages/python-check.scm (python-stestr): Update to 4.2.0. [arguments]<#:test-flags>: Refresh them. <#:phases>: Add phase 'configure-check. [native-inputs]: Add python-flit-core-next. Change-Id: I2f50c92a15c7d074c0d129b25b2a0b6c414fa982 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm19
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 5a47ca4e098..59ca2174a59 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3690,26 +3690,23 @@ possibly work.")
(define-public python-stestr
(package
(name "python-stestr")
- ;; XXX: The latest version needs flit-core=>3.12.
- (version "4.1.0")
+ (version "4.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "stestr" version))
(sha256
- (base32 "12p96kzanzzssr6z4hq6k62pdbsql4mf369ms69c4qyfxrlw6qaz"))))
+ (base32 "17623fqkg3a0z7rx8jcxwvgx6afg6wzvj4q6cgip5hqw5ngn7v25"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
- ;; Two tets fail.
- #~(list "--exclude-regex" (string-join
- (list "test_initialise_expands_user_directory"
- "test_open_expands_user_directory")
- "|"))
+ #~(list "--test-path" "stestr/tests")
#:phases
#~(modify-phases %standard-phases
- ;; TODO: Implement in pypproject-build-system's test-backends.
+ (add-before 'check 'configure-check
+ (lambda _
+ (setenv "HOME" (getcwd))))
(replace 'check
(lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
@@ -3718,8 +3715,8 @@ possibly work.")
(native-inputs
(list python-ddt
python-iso8601
- python-setuptools
- python-wheel))
+ python-flit-core-next ;requires >=3.12
+ python-setuptools))
(propagated-inputs
(list python-cliff
python-fixtures