guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 45eae2bd98c75362ae9559a398d9624c3c596245
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Jan 27 16:54:16 2026 +0100
gnu: python-coverage: Update to 7.13.2.
* gnu/packages/check.scm (python-coverage): Update to 7.13.2.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Refresh them.
[native-inputs]: Replace python-pytest-8 by python-pytest.
Change-Id: Ibab6a6dee35bfcf4a8741d7a80434599360ae08a
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/check.scm | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 482d6a9768..5cf4cd6b72 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2355,17 +2355,20 @@ since the last commit or what tests are currently
failing.")
(define-public python-coverage
(package
(name "python-coverage")
- (version "7.11.0")
+ (version "7.13.2")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "coverage" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/coveragepy/coveragepy")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0l403f6d59q8rik9vvzb6982qad0zrfj87dqydzsz8hwmh2dayqn"))))
+ (base32 "1vf1qa2cndkrr0l6yc84frfmabr96vkly9nsw0n0cgxf10n1k23m"))))
(build-system pyproject-build-system)
(arguments
(list
- ;; tests: 1303 passed, 23 skipped
+ ;; tests: 1348 passed, 27 skipped
#:test-flags
#~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))
#$@(map (lambda (file) (string-append "--ignore=tests/" file))
@@ -2390,12 +2393,13 @@ since the last commit or what tests are currently
failing.")
#$@(map (lambda (test) (string-append "--deselect=tests/test_"
test))
;; AssertionError
- (list "api.py::RelativePathTest::test_files_up_one_level"
+ (list "api.py::ReportIncludeOmitTest"
+ "api.py::XmlIncludeOmitTest"
+ "api.py::RelativePathTest::test_files_up_one_level"
"concurrency.py::SigtermTest::\
test_sigterm_multiprocessing_saves_data"
"oddball.py::DoctestTest::test_doctest"
- "oddball.py::MockingProtectionTest::\
-test_os_path_exists"
+ "oddball.py::MockingProtectionTest"
"plugins.py::PluginTest::\
test_local_files_are_importable"
"regions.py::test_real_code_regions"
@@ -2437,7 +2441,7 @@ test_local_files_are_importable"
;; coverage when running tests.
(delete-file-recursively "coverage"))))))
(native-inputs
- (list python-pytest-8
+ (list python-pytest
python-pytest-xdist ;some tests need xdist_group
python-flaky
python-setuptools))