[Python-apps-team] Bug#983702: voltron: Update package with new upstream release

Thomas Nyberg twn+debian-bug-report at thomasnyberg.com
Sun Feb 28 16:52:23 GMT 2021


Package: voltron
Version: 0.1.7+git20200109-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Trying to use the packaged voltron version with the current debian testing does
not work. Trying to use e.g.

    `import voltron`

or putting

    `source /usr/lib/python3/dist-packages/voltron/entry.py`

in the ~/.gdbinit file results in the same problem:

    >>> import voltron
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python3/dist-packages/voltron/__init__.py", line 6, in <module>
        from .main import main
      File "/usr/lib/python3/dist-packages/voltron/main.py", line 9, in <module>
        from .view import *
      File "/usr/lib/python3/dist-packages/voltron/view.py", line 25, in <module>
        from .core import Client
      File "/usr/lib/python3/dist-packages/voltron/core.py", line 18, in <module>
        from werkzeug.wsgi import DispatcherMiddleware, SharedDataMiddleware
    ImportError: cannot import name 'DispatcherMiddleware' from 'werkzeug.wsgi' (/usr/lib/python3/dist-packages/werkzeug/wsgi.py)

The reason seems to be that the debian testing packaged version of werkzeug is
1.0.1 while the packaged version of voltran does not support it. There is a
commit in the upstream repo that solves this problem:

    https://github.com/snare/voltron/commit/ba413dcbc1914c511d03e1d95f3663a91daf349a

Unfortunately that commit is not included in an official release. I'm unsure if
that is required for it to be packaged with debian. Regardless, the older
version does not work as packaged (though the required changes are admittedly
quite minor).

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.11.0 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages voltron depends on:
ii  python3                      3.9.1-1
ii  python3-blessed              1.17.12-1
ii  python3-flask                1.1.2-2
ii  python3-flask-restful        0.3.8-5
ii  python3-pygments             2.7.1+dfsg-1
ii  python3-requests             2.25.1+dfsg-2
ii  python3-requests-unixsocket  0.2.0-2
ii  python3-scruffy              0.3.3-2
ii  python3-six                  1.15.0-2

voltron recommends no packages.

voltron suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list