Skip to content

Commit

Permalink
dulwich: bump minver to 0.21.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrowla committed May 4, 2023
1 parent ed83c57 commit e27d6eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ package_dir=
packages = find:
install_requires=
gitpython>3
dulwich>=0.20.49
dulwich>=0.21.5
pygit2>=1.10.0
pygtrie>=2.3.2
fsspec>=2021.7.0
Expand Down
3 changes: 2 additions & 1 deletion src/scmrepo/git/backend/dulwich/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ def fetch_refspecs(
from dulwich.errors import NotGitRepository
from dulwich.objectspec import parse_reftuples
from dulwich.porcelain import DivergedBranches, check_diverged, get_remote_repo
from dulwich.refs import DictRefsContainer

fetch_refs = []

Expand All @@ -623,7 +624,7 @@ def determine_wants(
) -> List[bytes]:
fetch_refs.extend(
parse_reftuples(
remote_refs,
DictRefsContainer(remote_refs),
self.repo.refs,
os.fsencode(refspecs)
if isinstance(refspecs, str)
Expand Down

0 comments on commit e27d6eb

Please sign in to comment.