Skip to content

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

Use pip<20.3 to fix ReadTheDocs builds (#5052)

Adrián Chaves0dad0fce7226
diff --git a/.readthedocs.yml b/.readthedocs.yml
index 80a1cd036..2d781ae81 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -12,5 +12,6 @@ python:
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-image
version: 3.8 # Keep in sync with .github/workflows/checks.yml
install:
+ - requirements: docs/pip.txt
- requirements: docs/requirements.txt
- path: .
diff --git a/docs/pip.txt b/docs/pip.txt
new file mode 100644
index 000000000..095e53a0d
--- /dev/null
+++ b/docs/pip.txt
@@ -0,0 +1,3 @@
+# In pip 20.3-21.0, the default dependency resolver causes the build in
+# ReadTheDocs to fail due to memory exhaustion or timeout.
+pip<20.3