Skip to content

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

Forbid Twisted 23.8.0+.

Andrey Rakhmatullin9a72a2550cf8
diff --git a/setup.py b/setup.py
index 405633f55..47c0af0b0 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,8 @@ version = (Path(__file__).parent / "scrapy/VERSION").read_text("ascii").strip()
install_requires = [
- "Twisted>=18.9.0",
+ # 23.8.0 incompatibility: https://github.com/scrapy/scrapy/issues/6024
+ "Twisted>=18.9.0,<23.8.0",
"cryptography>=36.0.0",
"cssselect>=0.9.1",
"itemloaders>=1.0.1",