From a8dc301e563553fd7969f5c98cf8cfc810831f52 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 11 Feb 2026 23:37:12 +0100 Subject: gnu: python-dulwich: Update to 1.0.0. * gnu/packages/python-xyz.scm (python-dulwich): Update to 1.0.0. [arguments]<#:test-flags, #:phases>: Refresh them. [native-inputs]: Add openssh-sans-x, python-merge3, python-setuptools-rust. Remove python-wheel. Change-Id: I4f6a75c97ca4df74f71716945070fa305aa7b29b Reviewed-by: Hugo Buddelmeijer Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 156e7d7ca67..a969b4dce51 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23474,7 +23474,7 @@ Mustache templating language renderer.") (define-public python-dulwich (package (name "python-dulwich") - (version "0.21.7") + (version "1.0.0") (source (origin (method url-fetch) @@ -23482,39 +23482,40 @@ Mustache templating language renderer.") "dulwich-" version ".tar.gz") (pypi-uri "dulwich" version))) (sha256 - (base32 - "0s79c3g19m052jbxm66amxv5v60ijx5px4hjmk1q19ff6dlcdsd9")))) + (base32 "1g09iwy5hvjgd8qmkc5cny4qqcng2734ll9mxjzj4psj6m3i01rx")))) (build-system pyproject-build-system) (arguments (list #:test-flags ;; DULWICH_SWIFT_CFG is not set. - '(list "--ignore=dulwich/contrib/test_swift_smoke.py" - "-k" - ;; 'HTTPClient' object has no attribute 'get_base_url' - "not test_init_connector") + #~(list "--ignore=tests/contrib/test_swift.py" + "--ignore=tests/contrib/test_swift_smoke.py") #:phases - '(modify-phases %standard-phases - (add-after 'unpack 'fix-tests - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("dulwich/tests/test_repository.py" - "dulwich/tests/test_porcelain.py" - "dulwich/tests/test_hooks.py") - (("/bin/sh") (search-input-file inputs "/bin/sh"))))) - (add-before 'check 'pre-check - (lambda _ (setenv "PYTHONHASHSEED" "random")))))) + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-tests + (lambda* (#:key inputs #:allow-other-keys) + (substitute* '("tests/test_hooks.py" + "tests/porcelain/test_filters.py" + "tests/test_repository.py" + "tests/test_worktree.py") + (("/bin/sh") + (search-input-file inputs "/bin/sh"))))) + (add-before 'check 'pre-check + (lambda _ (setenv "PYTHONHASHSEED" "random")))))) (propagated-inputs (list python-fastimport python-urllib3)) (native-inputs (list gnupg git-minimal/pinned + openssh-sans-x python-geventhttpclient + python-merge3 python-mypy python-paramiko python-pytest python-requests python-setuptools - python-wheel)) + python-setuptools-rust)) (home-page "https://www.dulwich.io/") (synopsis "Git implementation in Python") (description "Dulwich is an implementation of the Git file formats and -- cgit v1.3