[Python-apps-team] Bug#976035: Doesn't work with Python 3.9
Andrey Rahmatullin
wrar at debian.org
Sat Nov 28 16:04:13 GMT 2020
Package: mitmproxy
Version: 5.1.1-2
Severity: grave
Tags: upstream fixed-upstream
Control: forwarded -1 https://github.com/mitmproxy/mitmproxy/issues/4021
[...]
File "/usr/lib/python3/dist-packages/mitmproxy/utils/typecheck.py", line 73,
in check_option_type
elif not isinstance(value, typeinfo):
File "/usr/lib/python3.9/typing.py", line 697, in __instancecheck__
return self.__subclasscheck__(type(obj))
File "/usr/lib/python3.9/typing.py", line 700, in __subclasscheck__
raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks
This is fixed at https://github.com/mitmproxy/mitmproxy/pull/4179 but there is
no release since it was merged.
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.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
Versions of packages mitmproxy depends on:
ii dpkg 1.20.5
ii fonts-font-awesome 5.0.10+really4.7.0~dfsg-2
ii python3 3.9.0-3
ii python3-blinker 1.4+dfsg1-0.3
ii python3-brotli 1.0.9-2+b1
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-h2 3.2.0-2
ii python3-hyperframe 5.2.0-4
ii python3-kaitaistruct 0.8-3
ii python3-ldap3 2.7-2
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+b1
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
ii python3-urwid 2.1.1-1+b1
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