Scrapy, a fast high-level web crawling & scraping framework for Python.
Use brotlicffi for PyPy
Laerte Pereira532cd2eabd8b
diff --git a/tests/requirements.txt b/tests/requirements.txtindex 5b75674f5..ca5f6ddbd 100644--- a/tests/requirements.txt+++ b/tests/requirements.txt@@ -11,8 +11,7 @@ uvloop; platform_system != "Windows"bpython # optional for shell wrapper testsbrotli; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests-# 1.1.0 is broken on PyPy: https://github.com/google/brotli/issues/1072-brotli==1.0.9; implementation_name == 'pypy' # optional for HTTP compress downloader middleware tests+brotlicffi; implementation_name == 'pypy' # optional for HTTP compress downloader middleware testszstandard; implementation_name != 'pypy' # optional for HTTP compress downloader middleware testsipythonpywin32; sys_platform == "win32"diff --git a/tox.ini b/tox.iniindex 6b804b78c..237aa489c 100644--- a/tox.ini+++ b/tox.ini@@ -162,7 +162,6 @@ basepython = {[testenv:pypy3]basepython}deps ={[pinned]deps}PyPyDispatcher==2.1.0- brotlicfficommands =pytest --durations=10 scrapy testsinstall_command = {[pinned]install_command}