Skip to content

Commit e27d6eb

Browse files
committed
dulwich: bump minver to 0.21.5
1 parent ed83c57 commit e27d6eb

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ package_dir=
2525
packages = find:
2626
install_requires=
2727
gitpython>3
28-
dulwich>=0.20.49
28+
dulwich>=0.21.5
2929
pygit2>=1.10.0
3030
pygtrie>=2.3.2
3131
fsspec>=2021.7.0

src/scmrepo/git/backend/dulwich/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ def fetch_refspecs(
614614
from dulwich.errors import NotGitRepository
615615
from dulwich.objectspec import parse_reftuples
616616
from dulwich.porcelain import DivergedBranches, check_diverged, get_remote_repo
617+
from dulwich.refs import DictRefsContainer
617618

618619
fetch_refs = []
619620

@@ -623,7 +624,7 @@ def determine_wants(
623624
) -> List[bytes]:
624625
fetch_refs.extend(
625626
parse_reftuples(
626-
remote_refs,
627+
DictRefsContainer(remote_refs),
627628
self.repo.refs,
628629
os.fsencode(refspecs)
629630
if isinstance(refspecs, str)

0 commit comments

Comments
 (0)