diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-11-05 10:26:26 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-11-19 09:42:12 +0900 |
| commit | b5a9486fface97de507737432e6799fdfe5a8ef2 (patch) | |
| tree | de8b2e0f1caee8970f872f0f34332bc388043276 | |
| parent | d206df153a2b72412d4bef1dd7e69d0e2bf8fac4 (diff) | |
gnu: python-coverage: Update to 7.11.0.
Hopefully resolving spurious test failures.
* gnu/packages/check.scm (python-coverage): Update to 7.11.0.
[#:test-flags]: Ignore tests/test_core.py and tests/test_api.py test files.
Disable test_good_needs_scrubs test.
Change-Id: Ibc3cd793ccc9cfe6ad6a151c208e321c89a4474b
| -rw-r--r-- | gnu/packages/check.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 798cb0af50a..f2d568cbc0d 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm | |||
| @@ -2394,14 +2394,14 @@ since the last commit or what tests are currently failing.") | |||
| 2394 | (define-public python-coverage | 2394 | (define-public python-coverage |
| 2395 | (package | 2395 | (package |
| 2396 | (name "python-coverage") | 2396 | (name "python-coverage") |
| 2397 | (version "7.9.2") | 2397 | (version "7.11.0") |
| 2398 | (source | 2398 | (source |
| 2399 | (origin | 2399 | (origin |
| 2400 | (method url-fetch) | 2400 | (method url-fetch) |
| 2401 | (uri (pypi-uri "coverage" version)) | 2401 | (uri (pypi-uri "coverage" version)) |
| 2402 | (sha256 | 2402 | (sha256 |
| 2403 | (base32 | 2403 | (base32 |
| 2404 | "12qcm2j4bnc2gp6sci9brly2k406gp4jwjfpzxj04ag3a7x28w4r")))) | 2404 | "0l403f6d59q8rik9vvzb6982qad0zrfj87dqydzsz8hwmh2dayqn")))) |
| 2405 | (build-system pyproject-build-system) | 2405 | (build-system pyproject-build-system) |
| 2406 | (arguments | 2406 | (arguments |
| 2407 | (list | 2407 | (list |
| @@ -2417,6 +2417,7 @@ since the last commit or what tests are currently failing.") | |||
| 2417 | "--ignore=tests/test_venv.py" | 2417 | "--ignore=tests/test_venv.py" |
| 2418 | "--ignore=tests/test_plugins.py" | 2418 | "--ignore=tests/test_plugins.py" |
| 2419 | "--ignore=tests/test_debug.py" | 2419 | "--ignore=tests/test_debug.py" |
| 2420 | "--ignore=tests/test_core.py" | ||
| 2420 | ;; XXX: Unclear why these fail. | 2421 | ;; XXX: Unclear why these fail. |
| 2421 | "--ignore=tests/test_python.py" | 2422 | "--ignore=tests/test_python.py" |
| 2422 | "--deselect=tests/test_concurrency.py\ | 2423 | "--deselect=tests/test_concurrency.py\ |
| @@ -2445,7 +2446,12 @@ since the last commit or what tests are currently failing.") | |||
| 2445 | #$@(if (equal? (%current-system) "riscv64-linux") | 2446 | #$@(if (equal? (%current-system) "riscv64-linux") |
| 2446 | '("--deselect=tests/test_numbits.py::NumbitsOpTest::test_union" | 2447 | '("--deselect=tests/test_numbits.py::NumbitsOpTest::test_union" |
| 2447 | "--deselect=tests/test_numbits.py::NumbitsOpTest::test_any_intersection") | 2448 | "--deselect=tests/test_numbits.py::NumbitsOpTest::test_any_intersection") |
| 2448 | '())) | 2449 | '()) |
| 2450 | ;; Fails some "'p1c' not in 'Name" assertions (see: | ||
| 2451 | ;; <https://github.com/nedbat/coveragepy/issues/2050#issuecomment-3489704251>). | ||
| 2452 | "--ignore=tests/test_api.py" | ||
| 2453 | ;; This tests fails due to missing file tests/actual/testing/getty. | ||
| 2454 | "-k" "not test_good_needs_scrubs") | ||
| 2449 | #:phases | 2455 | #:phases |
| 2450 | #~(modify-phases %standard-phases | 2456 | #~(modify-phases %standard-phases |
| 2451 | (add-after 'unpack 'patch-pyproject | 2457 | (add-after 'unpack 'patch-pyproject |
