[Pkg-privacy-maintainers] Bug#1023568: onionshare: autopkgtest regression with flask 2.2.2

Carsten Schoenert c.schoenert at t-online.de
Sun Nov 6 19:23:41 GMT 2022


Package: onionshare
Version: 2.5-2
Severity: important

Dear Maintainer,

with the current version 2.2.2 of flask and werkzeug in experimental
your package fails to run the autopkgtests successfully.

The relevant part that fails lokks like this:

autopkgtest [18:27:55]: test onionshare_help: XDG_CONFIG_HOME="$AUTOPKGTEST_TMP" xvfb-run -- onionshare --help
autopkgtest [18:27:55]: test onionshare_help: [-----------------------
Traceback (most recent call last):
  File "/usr/bin/onionshare", line 5, in <module>
    from onionshare import main
  File "/usr/lib/python3/dist-packages/onionshare/__init__.py", line 34, in <module>
    from onionshare_cli.common import Common
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/onionshare_cli/__init__.py", line 30, in <module>
    from .web import Web
  File "/usr/lib/python3/dist-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  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/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  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/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
    return original_import(name, *args, **kwargs)
  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

Please fix the autopktest issue, the DPT will increase the severity of
the outstanding autopkgtest issues with flask 2.2.2 probably soon so we
can start the freezing process for the bookworm release for the Python
packages.

There is a new released version 2.6 of onionshare, maybe importing a
newer version can fix the issue of the failed autopkgtest.

Regards
Carsten

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

Kernel: Linux 5.19.0-2-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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



More information about the Pkg-privacy-maintainers mailing list