[Python-modules-team] Bug#879452: src:python-git: Incompatible with git 2.15?

Hilko Bengen bengen at debian.org
Sat Oct 21 16:56:07 UTC 2017


Package: src:python-git
Version: 2.1.6-1
Tags: upstream
Severity: grave

Dear Maintainer,

in an attempt to use bro-pkg to install packaged scripts into the Bro
network sensor, I ran into the following problem:

,----
| $ sudo bro-pkg --verbose install https://github.com/corelight/bro-shellshock
| Traceback (most recent call last):
|   File "/usr/bin/bro-pkg", line 1947, in <module>
|     main()
|   File "/usr/bin/bro-pkg", line 1943, in main
|     args.run_cmd(manager, args, config)
|   File "/usr/bin/bro-pkg", line 346, in cmd_install
|     prefer_installed=False)
|   File "/usr/lib/python3/dist-packages/bropkg/manager.py", line 1053, in info
|     return self._info(package, status, version)
|   File "/usr/lib/python3/dist-packages/bropkg/manager.py", line 1095, in _info
|     versions = _get_version_tags(clone)
|   File "/usr/lib/python3/dist-packages/bropkg/manager.py", line 2048, in _get_version_tags
|     for tagref in clone.tags:
|   File "/usr/lib/python3/dist-packages/git/repo/base.py", line 335, in tags
|     return TagReference.list_items(self)
|   File "/usr/lib/python3/dist-packages/git/util.py", line 932, in list_items
|     out_list.extend(cls.iter_items(repo, *args, **kwargs))
|   File "/usr/lib/python3/dist-packages/git/refs/symbolic.py", line 613, in _iter_items
|     for sha, rela_path in cls._iter_packed_refs(repo):  # @UnusedVariable
|   File "/usr/lib/python3/dist-packages/git/refs/symbolic.py", line 97, in _iter_packed_refs
|     raise TypeError("PackingType of packed-Refs not understood: %r" % line)
| TypeError: PackingType of packed-Refs not understood: '# pack-refs with: peeled fully-peeled sorted'
`----

Replacing the installed git/1:2.15.0~rc1-1 (current unstable) with
git/1:2.14.2-1 from testing solves the problem.

This looks like upstream issue
<https://github.com/gitpython-developers/GitPython/issues/687>. for
which a pull request
<https://github.com/gitpython-developers/GitPython/pull/689> has been
proposed.

Cheers,
-Hilko



More information about the Python-modules-team mailing list