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 = [