Package: mitmproxy Version: 5.3.0-1 Severity: important Dear Maintainer,
In a fresh container with Debian testing, running mitmproxy with any arguments produces the following output: Traceback (most recent call last): File "/usr/bin/mitmproxy", line 33, in <module> sys.exit(load_entry_point('mitmproxy==5.3.0', 'console_scripts', 'mitmproxy')()) File "/usr/bin/mitmproxy", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 790, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/mitmproxy/tools/main.py", line 22, in <module> from ._main import * # noqa File "/usr/lib/python3/dist-packages/mitmproxy/tools/_main.py", line 14, in <module> from mitmproxy import exceptions, master File "/usr/lib/python3/dist-packages/mitmproxy/master.py", line 7, in <module> from mitmproxy import addonmanager File "/usr/lib/python3/dist-packages/mitmproxy/addonmanager.py", line 8, in <module> from mitmproxy import eventsequence File "/usr/lib/python3/dist-packages/mitmproxy/eventsequence.py", line 4, in <module> from mitmproxy import flow File "/usr/lib/python3/dist-packages/mitmproxy/flow.py", line 5, in <module> from mitmproxy import connections File "/usr/lib/python3/dist-packages/mitmproxy/connections.py", line 9, in <module> from mitmproxy.net import tcp File "/usr/lib/python3/dist-packages/mitmproxy/net/tcp.py", line 12, in <module> from mitmproxy.net import tls File "/usr/lib/python3/dist-packages/mitmproxy/net/tls.py", line 17, in <module> from mitmproxy.contrib.kaitaistruct import tls_client_hello File "/usr/lib/python3/dist-packages/mitmproxy/contrib/kaitaistruct/tls_client_hello.py", line 7, in <module> from pkg_resources import parse_version File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3239, in <module> def _initialize_master_working_set(): File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3222, in _call_aside f(*args, **kwargs) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 567, in _build_master ws.require(__requires__) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 884, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 770, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'hyperframe>=6.0' distribution was not found and is required by mitmproxy The mitmproxy package appears to be missing the following dependencies: python3-hyperframe (>= 6.0) python3-h2 (>= 4.0) After installing these packages, mitmproxy appears to work correctly. Thanks, Kevin -- System Information: Debian Release: bullseye/sid APT prefers testing-debug APT policy: (990, 'testing-debug'), (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (101, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set 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.20.5 ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-4 ii python3 3.9.0-4 ii python3-asgiref 3.3.1-1 ii python3-blinker 1.4+dfsg1-0.3 ii python3-brotli 1.0.9-2+b2 ii python3-certifi 2020.6.20-1 ii python3-click 7.1.2-1 ii python3-cryptography 3.2.1-1 ii python3-flask 1.1.2-2 ii python3-h11 0.11.0-1 ii python3-kaitaistruct 0.8-3 ii python3-ldap3 2.8.1-1 ii python3-msgpack 1.0.0-6+b1 ii python3-openssl 19.1.0-2 ii python3-passlib 1.7.2-2 ii python3-pkg-resources 50.3.0-1 ii python3-protobuf 3.12.3-2+b2 ii python3-publicsuffix2 2.20191221-2 ii python3-pyasn1 0.4.8-1 ii python3-pyparsing 2.4.7-1 ii python3-pyperclip 1.8.0-1 ii python3-ruamel.yaml 0.16.12-2 ii python3-sortedcontainers 2.1.0-2 ii python3-tornado 6.1.0-1+b1 ii python3-urwid 2.1.2-1 ii python3-wsproto 0.15.0-3 mitmproxy recommends no packages. mitmproxy suggests no packages. -- no debconf information