Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Do not change the mitmproxy version for no-3.6 Python versions

Adrián Chaves8e393a0b218b
diff --git a/tests/requirements-py3.txt b/tests/requirements-py3.txt
index b67c08403..b425ce771 100644
--- a/tests/requirements-py3.txt
+++ b/tests/requirements-py3.txt
@@ -1,8 +1,9 @@
# Tests requirements
attrs
-dataclasses; python_version == '3.6'
-mitmproxy >=4, <5; python_version < '3.6' # The latest version does not support some pinned dependencies
-mitmproxy <4; python_version < '3.6'
+dataclasses; python_version ==3.6
+mitmproxy; python_version >=3.7
+mitmproxy >=4, <5; python_version >=3.6, <3.7
+mitmproxy <4; python_version <3.6
# https://github.com/pytest-dev/pytest-twisted/issues/93
pytest != 5.4, != 5.4.1
pytest-azurepipelines