Force werkzeug < 3 when using mitmproxy

This commit is contained in:
Adrián Chaves 2024-02-20 15:31:10 +01:00
parent 685cf5940f
commit c04bba9e0a
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ deps =
#mitmproxy >= 5.3.0; python_version >= '3.9' and implementation_name != 'pypy'
# The tests hang with mitmproxy 8.0.0: https://github.com/scrapy/scrapy/issues/5454
mitmproxy >= 4.0.4, < 8; python_version < '3.9' and implementation_name != 'pypy'
# https://github.com/pallets/werkzeug/pull/2768 breaks flask, required by
# mitmproxy.
werkzeug < 3; python_version < '3.9' and implementation_name != 'pypy'
passenv =
S3_TEST_FILE_URI
AWS_ACCESS_KEY_ID