git_repo requires new dulwich and crashes
On debian bullseye the version of dulwich is 0.20.15-1
but git_repo
wants a newer version.
The requirements.txt should probably be updated, but this is still a bad experience for usage of the plugin with junctions.
The import error for missing dulwich should probably be a sufficient indicator when attempting to load git_repo.py, but since dulwich is installed, we instead get an error from the init_repo()
function when we call
return Repo(mirror_dir, bare=True)
Because bare
is an unexpected keyword argument.
Not sure how we can assert the required dulwich version without importing pkg_resources (which can be costly in the case there are a lot of packages installed).