From e26bf4f918befe0fe0625d240ea4a54294923a62 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Tue, 12 Sep 2023 18:18:25 +0400 Subject: [PATCH] Pin brotli for PyPy tests (#6045) --- tests/requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 37186f3a7..3ea7f3333 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -12,7 +12,9 @@ uvloop; platform_system != "Windows" and python_version < "3.12" # bpython requires greenlet which currently doesn't build on 3.12 bpython; python_version < "3.12" # optional for shell wrapper tests -brotli # optional for HTTP compress downloader middleware tests +brotli; 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 zstandard; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests ipython pywin32; sys_platform == "win32"