[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3.
From: |
John Kehayias |
Subject: |
[bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3. |
Date: |
Fri, 28 Apr 2023 05:51:14 +0000 |
* gnu/packages/python-xyz.scm (python-dulwich): Update to 0.21.3.
[arguments]{phases}: In 'check' phase skip a test which fails without a
configuration file.
[native-inputs]: Add python-paramiko and python-requests.
---
gnu/packages/python-xyz.scm | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a3ed048f03..8b61cba8ae 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19932,7 +19932,7 @@ (define-public python-cheetah
(define-public python-dulwich
(package
(name "python-dulwich")
- (version "0.20.30")
+ (version "0.21.3")
(source
(origin
(method url-fetch)
@@ -19941,23 +19941,27 @@ (define-public python-dulwich
(pypi-uri "dulwich" version)))
(sha256
(base32
- "0hafaff30bmkj30b8pwpwsy3fz5h6c1pn98ihqcvl5zndflr1h22"))))
+ "10yg11kcjc8lbk2hvnyz3hs5m1rlr76wzw2qxjrq7sv7sx9v98vw"))))
(build-system python-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-before 'check '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")))
- (setenv "TEST_RUNNER" "unittest")
- (setenv "PYTHONHASHSEED" "random"))))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'fix-tests
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "dulwich/contrib/test_swift_smoke.py"
+ (("^class SwiftRepoSmokeTest.*" line)
+ (string-append "@unittest.skipIf(True, \
+'Needs configuration file')\n" line)))
+ (substitute* '("dulwich/tests/test_repository.py"
+ "dulwich/tests/test_porcelain.py"
+ "dulwich/tests/test_hooks.py")
+ (("/bin/sh") (search-input-file inputs "/bin/sh")))
+ (setenv "TEST_RUNNER" "unittest")
+ (setenv "PYTHONHASHSEED" "random"))))))
(propagated-inputs
(list python-fastimport python-urllib3))
(native-inputs
- (list python-mock python-geventhttpclient python-gpg
+ (list python-mock python-paramiko python-geventhttpclient python-gpg
python-requests
git gnupg))
(home-page "https://www.dulwich.io/")
(synopsis "Git implementation in Python")
--
2.39.2
- [bug#63139] [PATCH python 06/20] gnu: Add python-deepdiff., (continued)
- [bug#63139] [PATCH python 06/20] gnu: Add python-deepdiff., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 05/20] gnu: python-cleo: Update to 2.0.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 03/20] gnu: Add python-rapidfuzz., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 07/20] gnu: python-platformdirs: Update to 3.2.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 04/20] gnu: python-crashtest: Update to 0.4.1., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 08/20] gnu: python-filelock: Update to 3.12.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 01/20] gnu: Add python-installer., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 09/20] gnu: python-distlib: Update to 0.3.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 10/20] gnu: python-virtualenv: Update to 20.22.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 13/20] gnu: python-dulwich: Update to 0.21.3.,
John Kehayias <=
- [bug#63139] [PATCH python 11/20] gnu: python-pkginfo: Update to 1.9.6., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 12/20] gnu: python-jsonschema: Update to 4.17.3., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 15/20] gnu: poetry: Fix build., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 14/20] gnu: Update python-pypa-build to 1.0.0., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 18/20] gnu: python-fido2: Update to 1.1.1 and enable tests., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 16/20] gnu: Add python-poetry-plugin-export., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 17/20] gnu: python-pyscard: Update to 2.0.7., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 20/20] gnu: python-yubikey-manager: Update to 5.1.0 and enable tests., John Kehayias, 2023/04/28
- [bug#63139] [PATCH python 19/20] gnu: Add python-makefun., John Kehayias, 2023/04/28