Skip to content

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

Use --use-deprecated=legacy-resolver

Adrián Chaves7b11b74c77d1
diff --git a/tox.ini b/tox.ini
index d8e900e06..ecd3aad6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -27,6 +27,10 @@ passenv =
GCS_PROJECT_ID
#allow tox virtualenv to upgrade pip/wheel/setuptools
download = true
+# TODO: Remove the custom install_command below
+# Temporary workaround to filter out errors caused by the insanely long time
+# that it takes for the new resolver to install dependencies.
+install_command=python -m pip install --use-deprecated=legacy-resolver {opts} {packages}
commands =
py.test --cov=scrapy --cov-report=xml --cov-report= {posargs:--durations=10 docs scrapy tests}