f4393fb5c2
* ``ObjectStore.iter_prefix``: fix handling of missing loose object directories. (Jelmer Vernooij) * Reject invalid refcontainer values (not 40 characters or symref). * Add type hints to various functions. (Castedo Ellerman) * Drop support for Python 3.8. (Jelmer Vernooij) * Fix refspec handling in porcelain.pull. (Jelmer Vernooij) * Drop broken refspec support in porcelain.clone. * Provide ``ref_prefix`` functionality client-side if the server does not support it. * Consistently honor ``ref_prefix`` and ``protocol_version`` arguments in client. (Jelmer Vernooij) * Strip pkt-line when negotiating protocol v2. Fixes compatibility with gerrit. (Rémy Pecqueur, #1423) * Don't pull in ``setuptools_rust`` when building pure package. (Eli Schwartz) * Return peeled refs from ``GitClient.get_refs`` if protocol-v2 is used. (Stefan Sperling, #1410) * Drop outdated performance file. (Jelmer Vernooij, #1411) * Fix handling of symrefs with protocol v2. * Add ``ObjectStore.iter_prefix``. (Jelmer Vernooij) * Revert back to version 3 of ``Cargo.lock``, to allow building with older Cargo versions. * Use a default ref-prefix when fetching with git protocol v2 * Add `ObjectStore.iter_prefix`. (Jelmer Vernooij) * Improve wheel building in CI, so we can upload wheels for the next release. * Ship ``Cargo.lock``. (Jelmer Vernooij, #1287) * Ship ``tests/`` and ``testdata/`` in sdist. (Jelmer Vernooij, OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/python-dulwich?expand=0&rev=35
36 lines
1.5 KiB
Diff
36 lines
1.5 KiB
Diff
From 7064f5f0b8094877459f4b6ed2eff72627a19750 Mon Sep 17 00:00:00 2001
|
|
From: PerchunPak <git@perchun.it>
|
|
Date: Sun, 28 Apr 2024 17:42:10 +0200
|
|
Subject: [PATCH] Keep up with changes in geventhttpclient
|
|
|
|
---
|
|
dulwich/contrib/swift.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: dulwich-dulwich-0.22.1/dulwich/contrib/swift.py
|
|
===================================================================
|
|
--- dulwich-dulwich-0.22.1.orig/dulwich/contrib/swift.py
|
|
+++ dulwich-dulwich-0.22.1/dulwich/contrib/swift.py
|
|
@@ -257,7 +257,7 @@ class SwiftConnector:
|
|
if ret.status_code < 200 or ret.status_code >= 300:
|
|
raise SwiftException(
|
|
"AUTH v1.0 request failed on "
|
|
- + f"{str(auth_httpclient.get_base_url()) + path} with error code {ret.status_code} ({ret.items()!s})"
|
|
+ + f"{self.auth_url} with error code {ret.status_code} ({ret.items()!s})"
|
|
)
|
|
storage_url = ret["X-Storage-Url"]
|
|
token = ret["X-Auth-Token"]
|
|
Index: dulwich-dulwich-0.22.1/tests/test_greenthreads.py
|
|
===================================================================
|
|
--- dulwich-dulwich-0.22.1.orig/tests/test_greenthreads.py
|
|
+++ dulwich-dulwich-0.22.1/tests/test_greenthreads.py
|
|
@@ -35,7 +35,7 @@ except ImportError:
|
|
gevent_support = False
|
|
|
|
if gevent_support:
|
|
- from ..greenthreads import GreenThreadsMissingObjectFinder
|
|
+ from dulwich.greenthreads import GreenThreadsMissingObjectFinder
|
|
|
|
skipmsg = "Gevent library is not installed"
|
|
|