[Python-apps-team] Bug#963487: mitmproxy: New updated mitmproxy does not work as per #963067

Simon Iremonger debian at iremonger.me.uk
Mon Jun 22 11:44:30 BST 2020


Package: mitmproxy
Version: 5.1.1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

As per comments added to #963067 , new mitmproxy seemingly cannot be used via
debian dependencies.
Relates to bugs  #963181  #963114  that probably should be attended to first.
Copy details below:-



Despite 'patching out zstandard' done by packager, mitmproxy contains
some internal dependency on zstandard and so won't start.  There is
also a python3-cryptography internal dependency that isn't satisfied.


Both of the following internal dependency-errors may appear, for
example:-


pkg_resources.DistributionNotFound: The 'zstandard<0.14,>=0.11'
distribution was not found and is required by mitmproxy

pkg_resources.DistributionNotFound: The 'cryptography<3.0,>=2.9'
distribution was not found and is required by mitmproxy


I'm fairly sure the right thing to do is to complete debian bugs
#963181 #963114, getting zstandard available and cryptography updated,
then rebuild 5.1.1 package with:-

1) debian python3-zstandard dependency added

2) patch-out-zstandard change reverted

3) debian python3-cryptography dependency bumped to need at least 2.9


Hope that helps,




p.s.  not convinced the dependency bump on other parts are necessarily correct,
e.g. urwid 2.1.0 ... be helpful if package is backportable later without
needless version-bumps.



-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (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.3-1
ii  python3-blinker           1.4+dfsg1-0.2
ii  python3-brotli            1.0.7-2
ii  python3-certifi           2020.4.5.1-1
ii  python3-click             7.0-1
ii  python3-cryptography      2.8-4
ii  python3-flask             1.1.2-1
ii  python3-h11               0.8.1-1
ii  python3-h2                3.2.0-2
ii  python3-hyperframe        5.1.0-1
ii  python3-kaitaistruct      0.8-1
ii  python3-ldap3             2.7-2
ii  python3-openssl           19.1.0-2
ii  python3-passlib           1.7.1-1
ii  python3-pkg-resources     40.8.0-1
ii  python3-protobuf          3.6.1.3-2
ii  python3-publicsuffix2     2.20191221-2
ii  python3-pyasn1            0.4.2-3
ii  python3-pyparsing         2.4.7-1
ii  python3-pyperclip         1.6.4-1
ii  python3-ruamel.yaml       0.15.34-1+b1
ii  python3-sortedcontainers  2.1.0-2
ii  python3-tornado           5.1.1-4
ii  python3-wsproto           0.15.0-3

mitmproxy recommends no packages.

mitmproxy suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list