Source: dulwich
Version: 0.19.1-1
Severity: normal
Usertags: triggers
Affects: xandikos

Since some weeks 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

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/", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/", line 905, in
    return self._inner_app(environ, start_response)
  File "/usr/lib/python3/dist-packages/xandikos/", line 1787,
in __call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/", line 1397,
in handle
    unused_href, path, r = app._get_resource_from_environ(environ)
  File "/usr/lib/python3/dist-packages/xandikos/", line 1744,
in _get_resource_from_environ
    r = self.backend.get_resource(path)
  File "/usr/lib/python3/dist-packages/xandikos/", line 805, in
    return store.get_member(name)
  File "/usr/lib/python3/dist-packages/xandikos/", line 260, in
    for (fname, content_type, fetag) in
  File "/usr/lib/python3/dist-packages/xandikos/store/", line 217,
in iter_with_etag
    for (name, mode, sha) in self._iterblobs(ctag):
  File "/usr/lib/python3/dist-packages/xandikos/store/", line 625,
in _iterblobs
    for (name, sha, mode) in index.iterblobs():
  File "/usr/lib/python3/dist-packages/dulwich/", line 278, in
    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.



Attachment: signature.asc
Description: OpenPGP digital signature

Python-modules-team mailing list

Reply via email to