diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-23 22:57:18 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:50 +0100 |
| commit | 5403940d77551b76c389a3dfb16131ae51d8eb75 (patch) | |
| tree | b047aa18c63a415f31984a7e1aa323ec52f9f505 /gnu | |
| parent | 2d50711f052799ff6ebb153d7b6bbbe378249982 (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')
| -rw-r--r-- | gnu/packages/python-check.scm | 19 |
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.") | |||
| 3690 | (define-public python-stestr | 3690 | (define-public python-stestr |
| 3691 | (package | 3691 | (package |
| 3692 | (name "python-stestr") | 3692 | (name "python-stestr") |
| 3693 | ;; XXX: The latest version needs flit-core=>3.12. | 3693 | (version "4.2.0") |
| 3694 | (version "4.1.0") | ||
| 3695 | (source | 3694 | (source |
| 3696 | (origin | 3695 | (origin |
| 3697 | (method url-fetch) | 3696 | (method url-fetch) |
| 3698 | (uri (pypi-uri "stestr" version)) | 3697 | (uri (pypi-uri "stestr" version)) |
| 3699 | (sha256 | 3698 | (sha256 |
| 3700 | (base32 "12p96kzanzzssr6z4hq6k62pdbsql4mf369ms69c4qyfxrlw6qaz")))) | 3699 | (base32 "17623fqkg3a0z7rx8jcxwvgx6afg6wzvj4q6cgip5hqw5ngn7v25")))) |
| 3701 | (build-system pyproject-build-system) | 3700 | (build-system pyproject-build-system) |
| 3702 | (arguments | 3701 | (arguments |
| 3703 | (list | 3702 | (list |
| 3704 | #:test-flags | 3703 | #:test-flags |
| 3705 | ;; Two tets fail. | 3704 | #~(list "--test-path" "stestr/tests") |
| 3706 | #~(list "--exclude-regex" (string-join | ||
| 3707 | (list "test_initialise_expands_user_directory" | ||
| 3708 | "test_open_expands_user_directory") | ||
| 3709 | "|")) | ||
| 3710 | #:phases | 3705 | #:phases |
| 3711 | #~(modify-phases %standard-phases | 3706 | #~(modify-phases %standard-phases |
| 3712 | ;; TODO: Implement in pypproject-build-system's test-backends. | 3707 | (add-before 'check 'configure-check |
| 3708 | (lambda _ | ||
| 3709 | (setenv "HOME" (getcwd)))) | ||
| 3713 | (replace 'check | 3710 | (replace 'check |
| 3714 | (lambda* (#:key tests? test-flags #:allow-other-keys) | 3711 | (lambda* (#:key tests? test-flags #:allow-other-keys) |
| 3715 | (when tests? | 3712 | (when tests? |
| @@ -3718,8 +3715,8 @@ possibly work.") | |||
| 3718 | (native-inputs | 3715 | (native-inputs |
| 3719 | (list python-ddt | 3716 | (list python-ddt |
| 3720 | python-iso8601 | 3717 | python-iso8601 |
| 3721 | python-setuptools | 3718 | python-flit-core-next ;requires >=3.12 |
| 3722 | python-wheel)) | 3719 | python-setuptools)) |
| 3723 | (propagated-inputs | 3720 | (propagated-inputs |
| 3724 | (list python-cliff | 3721 | (list python-cliff |
| 3725 | python-fixtures | 3722 | python-fixtures |
