Skip to content

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

Remove PyDispatcher from general requirements

dswij9f02df20c51c
diff --git a/setup.py b/setup.py
index 0c2281400..c046684c0 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,6 @@ install_requires = [
'cssselect>=0.9.1',
'itemloaders>=1.0.1',
'parsel>=1.5.0',
- 'PyDispatcher>=2.0.5',
'pyOpenSSL>=16.2.0',
'queuelib>=1.4.2',
'service_identity>=16.0.0',
@@ -38,6 +37,7 @@ extras_require = {}
if has_environment_marker_platform_impl_support():
extras_require[':platform_python_implementation == "CPython"'] = [
'lxml>=3.5.0',
+ 'PyDispatcher>=2.0.5',
]
extras_require[':platform_python_implementation == "PyPy"'] = [
# Earlier lxml versions are affected by
diff --git a/tox.ini b/tox.ini
index 4e6ca3ec9..d29cea0fc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -72,7 +72,6 @@ deps =
itemadapter==0.1.0
parsel==1.5.0
Protego==0.1.15
- PyDispatcher==2.0.5
#using pyOpenSSL<18.1 to solve dependencies conflict with mitmproxy on pip20.2>=
pyOpenSSL==18.0.0
queuelib==1.4.2
@@ -89,7 +88,12 @@ deps =
[testenv:pinned]
deps =
{[pinned]deps}
- lxml==3.5.0
+ PyDispatcher==2.0.5
+
+[testenv: pypy-pinned]
+deps =
+ {[pinned]deps}
+ PyPyDispatcher==2.1.0
[testenv:windows-pinned]
basepython = python3
@@ -111,13 +115,16 @@ commands =
[testenv:asyncio-pinned]
commands = {[testenv:asyncio]commands}
-deps = {[testenv:pinned]deps}
+deps =
+ {[testenv:pinned]deps}
+ lxml==3.5.0
[testenv:pypy3]
basepython = pypy3
deps =
{[testenv]deps}
- PyDispatcher==2.0.5
+ PyPyDispatcher>=2.1.0
+ lxml==4.0.0
commands =
py.test {posargs:--durations=10 docs scrapy tests}