Remove PyDispatcher from general requirements

This commit is contained in:
dswij 2020-10-07 01:10:01 +07:00
parent ce6884d517
commit 9f02df20c5
2 changed files with 12 additions and 5 deletions

View File

@ -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

15
tox.ini
View File

@ -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}