Skip to content

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

Pin pyOpenSSL to the versions allowing mutable contexts. (#7494)

Andrey Rakhmatullin5223dbe3fdf8
diff --git a/pyproject.toml b/pyproject.toml
index 11d36d0ac..f13e67020 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,8 @@ dependencies = [
"packaging",
"parsel>=1.5.0",
"protego>=0.1.15",
- "pyOpenSSL>=22.0.0",
+ # pyOpenSSL pinned until Twisted with immutable contexts is released and supported in Scrapy
+ "pyOpenSSL>=22.0.0,<26.2.0",
"queuelib>=1.4.2",
"service_identity>=18.1.0",
"tldextract",