Bug#948206: marked as done (mitmproxy incompatible with python3-wsproto=0.15.0-2)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Bug#948206: marked as done (mitmproxy incompatible with python3-wsproto=0.15.0-2)

Debian Bug Tracking System
Your message dated Wed, 08 Apr 2020 15:03:48 +0000
with message-id <[hidden email]>
and subject line Bug#948206: fixed in mitmproxy 4.0.4-6.1
has caused the Debian Bug report #948206,
regarding mitmproxy incompatible with python3-wsproto=0.15.0-2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]

948206: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948206
Debian Bug Tracking System
Contact [hidden email] with problems

Package: mitmproxy
Version: 4.0.4-6
Severity: grave
Tags: newcomer
Justification: renders package unusable

After upgrading python3-wsproto to version 0.15.0-2, mitmproxy fails
immediately with this error message:

    ImportError: cannot import name 'WSConnection' from 'wsproto.connection'

As stated in the setup.py of mitmproxy, it requires the Python
module wsproto to be at least 0.14.0 and < 0.15.0 [1]:


Downgrading the package with `apt install python3-wsproto=0.11.0-3` solves
this issue temporarily (this version is shown below).

[1] https://github.com/mitmproxy/mitmproxy/blob/7b638f1b6b543ec5e23170217a42ca0e5c421992/setup.py#L85

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

Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mitmproxy depends on:
ii  dpkg                      1.19.7
ii  fonts-font-awesome        5.0.10+really4.7.0~dfsg-1
ii  python3                   3.7.5-3
ii  python3-blinker           1.4+dfsg1-0.3
ii  python3-brotli            1.0.7-6
ii  python3-certifi           2019.11.28-1
ii  python3-click             7.0-3
ii  python3-cryptography      2.6.1-4
ii  python3-h11               0.8.1-2
ii  python3-h2                3.0.1-5
ii  python3-hyperframe        5.2.0-4
ii  python3-kaitaistruct      0.8-3
ii  python3-ldap3             2.4.1-2
ii  python3-openssl           19.0.0-1
ii  python3-passlib           1.7.1-1
ii  python3-pkg-resources     41.4.0-1
ii  python3-pyasn1            0.4.2-3
ii  python3-pyparsing         2.4.2-1
ii  python3-pyperclip         1.7.0-1
ii  python3-ruamel.yaml       0.15.89-3+b1
ii  python3-sortedcontainers  2.1.0-2
ii  python3-tornado           6.0.3+really5.1.1-2
ii  python3-urwid             2.0.1-2+b2
ii  python3-wsproto           0.11.0-3

mitmproxy recommends no packages.

mitmproxy suggests no packages.

-- no debconf information

Source: mitmproxy
Source-Version: 4.0.4-6.1
Done: Andrej Shadura <[hidden email]>

We believe that the bug you reported is fixed in the latest version of
mitmproxy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Andrej Shadura <[hidden email]> (supplier of updated mitmproxy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])

Hash: SHA256

Format: 1.8
Date: Wed, 08 Apr 2020 16:47:13 +0200
Source: mitmproxy
Architecture: source
Version: 4.0.4-6.1
Distribution: unstable
Urgency: medium
Maintainer: Sebastien Delafond <[hidden email]>
Changed-By: Andrej Shadura <[hidden email]>
Closes: 948206
 mitmproxy (4.0.4-6.1) unstable; urgency=medium
   * Non-maintainer upload.
   [ Debian Janitor ]
   * Update standards version, no changes needed.
   * Bump debhelper from old 9 to 12.
   [ Andrej Shadura ]
   * Apply an upstream patch for wsproto 0.13 compatibility (Closes: #948206)
 85d10923bb50d2bc645ea30c67f3f333b22b1f99 2287 mitmproxy_4.0.4-6.1.dsc
 645128b4b7369f4eed1a7576b4eccfd68fd24f68 14060 mitmproxy_4.0.4-6.1.debian.tar.xz
 059f1231e9667584b8ddae670db1d0edb4236cdee4436ba3c6c983f3cccb760e 2287 mitmproxy_4.0.4-6.1.dsc
 72d3cc4a73885772643d3d18ca258844e107075ee1ad1de5d8b86d6af6905ac0 14060 mitmproxy_4.0.4-6.1.debian.tar.xz
 474273a3ef507843341ad1bc23374293 2287 net optional mitmproxy_4.0.4-6.1.dsc
 7879824aca8912575c10190c4e8ee0e2 14060 net optional mitmproxy_4.0.4-6.1.debian.tar.xz