Skip to content

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

Adjust h2 version requirement (#5066)

Eugenio Lacuesta1d200258a527
diff --git a/setup.py b/setup.py
index 767c6f6bf..2b60a10af 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,7 @@ install_requires = [
'zope.interface>=4.1.3',
'protego>=0.1.15',
'itemadapter>=0.1.0',
- 'h2>=3.2.0',
+ 'h2>=3.0,<4.0',
]
extras_require = {}
cpython_dependencies = [
diff --git a/tox.ini b/tox.ini
index 6907c8906..353977519 100644
--- a/tox.ini
+++ b/tox.ini
@@ -71,7 +71,7 @@ commands =
deps =
cryptography==2.0
cssselect==0.9.1
- h2==3.2.0
+ h2==3.0
itemadapter==0.1.0
parsel==1.5.0
Protego==0.1.15