From f84f4e2c0d27331f60cc43542f38a9514d1dbce3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 26 Aug 2025 15:38:07 -0700 Subject: [PATCH] python3Packages.coverage: 7.10.2 -> 7.10.5 Diff: https://github.com/nedbat/coveragepy/compare/7.10.2...7.10.5 Changelog: https://github.com/nedbat/coveragepy/blob/7.10.5/CHANGES.rst --- .../python-modules/coverage/default.nix | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/coverage/default.nix b/pkgs/development/python-modules/coverage/default.nix index 06eb295484f3..24b6d0c31572 100644 --- a/pkgs/development/python-modules/coverage/default.nix +++ b/pkgs/development/python-modules/coverage/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "coverage"; - version = "7.10.2"; + version = "7.10.5"; pyproject = true; src = fetchFromGitHub { owner = "nedbat"; repo = "coveragepy"; tag = version; - hash = "sha256-OXi5FCLcfhseNDerwHdsVHF31Jy+ZSz2RU05vqPxQis="; + hash = "sha256-jsocpziOu0fSmFn075vj2u1SCZkG7M/kuRujaJ1OeH4="; }; build-system = [ setuptools ]; @@ -47,23 +47,17 @@ buildPythonPackage rec { ''; disabledTests = [ - "test_all_our_source_files" "test_doctest" "test_files_up_one_level" "test_get_encoded_zip_files" - "test_metadata" - "test_more_metadata" "test_multi" "test_no_duplicate_packages" - "test_xdist_sys_path_nuttiness_is_fixed" "test_zipfile" - ] - ++ lib.optionals (isPy312 && stdenv.hostPlatform.system == "x86_64-darwin") [ - # substring that may not be in string is part of the pytest output hash, which appears in the string - "test_nothing_specified" - "test_omit" - "test_omit_2" - "test_omit_as_string" + # tests expect coverage source to be there + "test_all_our_source_files" + "test_metadata" + "test_more_metadata" + "test_real_code_regions" ]; disabledTestPaths = [