Control: reassign -1 python3-flask-socketio 5.0.1-1
Control: affects -1 onionshare-cli

Hey,

>From my point of view it is an issue within flask-socketio and has nothing to 
>do with onionshare. 
The import flask_socketio from onionshare works. But than flask-socketio fails 
to import werkzeug, so the problem is either flask-socketio or werkzeug. As 
werkzeug and flask are updated in experimental, I expect flask.socketio to be 
the problem. It seems like flask-socketio 5.3.0 fixes this see Changes line 11: 

https://github.com/miguelgrinberg/Flask-SocketIO/blob/main/CHANGES.md

Relevant autopkgtest test:

autopkgtest [22:25:35]: test onionshare-cli_help: onionshare-cli --help
Traceback (most recent call last):
  File "/usr/bin/onionshare-cli", line 5, in <module>
    from onionshare_cli import main
  File "/usr/lib/python3/dist-packages/onionshare_cli/__init__.py", line 30, in 
<module>
    from .web import Web
  File "/usr/lib/python3/dist-packages/onionshare_cli/web/__init__.py", line 
21, in <module>
    from .web import Web
  File "/usr/lib/python3/dist-packages/onionshare_cli/web/web.py", line 38, in 
<module>
    from flask_socketio import SocketIO
  File "/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line 24, in 
<module>
    from werkzeug.serving import run_with_reloader
ImportError: cannot import name 'run_with_reloader' from 'werkzeug.serving' 
(/usr/lib/python3/dist-packages/werkzeug/serving.py)

The full log (amd64) is reachable under

https://ci.debian.net/data/autopkgtest/unstable/amd64/o/onionshare/27759203/log.gz

The full list of packages that fail with flask from experimental can be
found here.

https://qa.debian.org/excuses.php?experimental=1&package=flask

hefee

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to