Source: dulwich
Version: 0.19.1-1
Severity: normal
User: ci-t...@tracker.debian.org
Usertags: triggers
Affects: xandikos

Since some weeks ci.debian.net is running autopkgtests in testing with
packages that try to migrate from unstable. With the upload of version
0.19.1-1 of dulwich, the autopkgtest of xandikos in testing┬╣ started to
fail.

If I interpret the error message correctly (please just close this bug
if I am mistaken), the autopkgtest hit a deprecation warning in dulwich
that errors out on a TypeError.

Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 905, in
__call__
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1787,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1397,
in handle
    unused_href, path, r = app._get_resource_from_environ(environ)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1744,
in _get_resource_from_environ
    r = self.backend.get_resource(path)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 805, in
get_resource
    return store.get_member(name)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 260, in
get_member
    for (fname, content_type, fetag) in self.store.iter_with_etag():
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 217,
in iter_with_etag
    for (name, mode, sha) in self._iterblobs(ctag):
  File "/usr/lib/python3/dist-packages/xandikos/store/git.py", line 625,
in _iterblobs
    for (name, sha, mode) in index.iterblobs():
  File "/usr/lib/python3/dist-packages/dulwich/index.py", line 278, in
iterblobs
    warnings.warn(PendingDeprecationWarning, 'Use iterobjects() instead.')
TypeError: category must be a Warning subclass, not 'str'

The autopkgtest in unstable are fine, I assume that xandikos is not
using the deprecated code anymore.

Paul

┬╣ https://ci.debian.net/packages/x/xandikos/testing/amd64/

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to