Do not install mitmproxy in Python 3.9

This commit is contained in:
Adrián Chaves 2021-03-18 23:53:58 +01:00
parent 8e73e1dfb5
commit a390b934de
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@ deps =
# mitmproxy does not support PyPy
# mitmproxy does not support Windows when running Python < 3.7
# Python 3.9+ requires https://github.com/mitmproxy/mitmproxy/commit/8e5e43de24c9bc93092b63efc67fbec029a9e7fe
mitmproxy >= 5.3.0; python_version >= '3.9' and implementation_name != 'pypy'
# mitmproxy >= 5.3.0 requires h2 >= 4.0, Twisted 21.2 requires h2 < 4.0
#mitmproxy >= 5.3.0; python_version >= '3.9' and implementation_name != 'pypy'
mitmproxy >= 4.0.4; python_version >= '3.7' and python_version < '3.9' and implementation_name != 'pypy'
mitmproxy >= 4.0.4, < 5; python_version >= '3.6' and python_version < '3.7' and platform_system != 'Windows' and implementation_name != 'pypy'
# Extras