Skip to content

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

Pin Twisted to <= 25.5.0 due to internal API changes.

Andrey Rakhmatullin85e4e6c42bda
diff --git a/pyproject.toml b/pyproject.toml
index 470cab8ea..e1cfec355 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,8 @@ name = "Scrapy"
dynamic = ["version"]
description = "A high-level Web Crawling and Web Scraping framework"
dependencies = [
- "Twisted>=21.7.0",
+ # Twisted pinned until Scrapy is updated for its internal TLS API changes
+ "Twisted>=21.7.0,<=25.5.0",
"cryptography>=37.0.0",
"cssselect>=0.9.1",
"defusedxml>=0.7.1",