diff --git a/pkgs/development/python-modules/dulwich/default.nix b/pkgs/development/python-modules/dulwich/default.nix index d35379ceb8ab..b2ed18893711 100644 --- a/pkgs/development/python-modules/dulwich/default.nix +++ b/pkgs/development/python-modules/dulwich/default.nix @@ -13,13 +13,11 @@ merge3, paramiko, pytestCheckHook, - pythonOlder, rich, rustPlatform, rustc, setuptools, setuptools-rust, - typing-extensions, urllib3, }: @@ -28,8 +26,6 @@ buildPythonPackage rec { version = "0.24.1"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "jelmer"; repo = "dulwich"; @@ -55,9 +51,6 @@ buildPythonPackage rec { dependencies = [ urllib3 - ] - ++ lib.optionals (pythonOlder "3.11") [ - typing-extensions ]; optional-dependencies = { @@ -88,17 +81,17 @@ buildPythonPackage rec { "test_file_win" # dulwich.errors.NotGitRepository: No git repository was found at . "WorktreeCliTests" - # 'SwiftPackData' object has no attribute '_file' - "test_iterobjects_subset_all_present" - "test_iterobjects_subset_missing_allowed" - "test_iterobjects_subset_missing_not_allowed" # Adding a symlink to a directory outside the repo doesn't raise "test_add_symlink_absolute_to_system" + # Depends on setuid which is not available in sandboxed environments + "SharedRepositoryTests" + # TypeError: pack index v1 only supports SHA-1 names + "test_pack_index_v1_with_sha256" ]; disabledTestPaths = [ - # requires swift config file - "tests/contrib/test_swift_smoke.py" + # "Code [in contrib] is not an official part of Dulwich, and may no longer work" + "tests/contrib" ]; __darwinAllowLocalNetworking = true; @@ -117,6 +110,9 @@ buildPythonPackage rec { asl20 gpl2Plus ]; - maintainers = with lib.maintainers; [ koral ]; + maintainers = with lib.maintainers; [ + koral + sarahec + ]; }; }