Package: voltron
Version: 0.1.7+git20200109-1
Followup-For: Bug #983702

Dear Maintainer,

I am attaching a patch.

-- 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.2-2
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-2
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

On 3/3/21 8:34 PM, Andrey Rahmatullin wrote:
Control: retitle -1 Doesn't work with current werkzeug
COntrol: tags -1 + upstream fixed-upstream patch

On Sun, Feb 28, 2021 at 05:52:23PM +0100, Thomas Nyberg wrote:
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).
Assuming this patch fixes the problem, the correct way will be to apply it
to the current version and upload it.

Description: Update for backwards-incompatibe werkzeug api changes

Apply upsteam patch dealing with backwards-incompatible werkzeug changes.

Origin: 
https://github.com/snare/voltron/commit/ba413dcbc1914c511d03e1d95f3663a91daf349a
Bug: https://bugs.debian.org/983702
Bug-Debian: https://bugs.debian.org/983702
Last-Update: 2021-03-21

Author: Thomas Nyberg <t...@thomasnyberg.com>

--- voltron-0.1.7+git20200109.orig/voltron/core.py
+++ voltron-0.1.7+git20200109/voltron/core.py
@@ -15,7 +15,8 @@ import six
 import voltron
 from flask import Flask, Response, make_response, redirect, render_template, 
request
 from werkzeug.serving import BaseWSGIServer, ThreadedWSGIServer, 
WSGIRequestHandler
-from werkzeug.wsgi import DispatcherMiddleware, SharedDataMiddleware
+from werkzeug.middleware.dispatcher import DispatcherMiddleware
+from werkzeug.middleware.shared_data import SharedDataMiddleware
 from requests import ConnectionError
 
 

Reply via email to