From d88c2738b24f5a24bb7261c0db78f209f4b7331f Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sun, 3 Dec 2023 11:19:08 +1300 Subject: [PATCH] exclude termux and pypy --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 04b5a4277f14..04176d293f7b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,6 @@ certifi requests>=2.31.0,<3 urllib3>=1.26.17,<3 websockets>=12.0 -curl_cffi>=0.5.9,<0.6.0; (sys_platform == "win32" and platform_machine == "amd64") or (sys_platform == "linux" and (platform_machine == "aarch64" or platform_machine == "x86_64")) or sys_platform == "darwin" \ No newline at end of file +# curl_cffi has builds for Linux aarch64, however Termux has issues with it: https://github.com/yifeikong/curl_cffi/issues/74 +# pypy does not work with curl_cffi +curl_cffi>=0.5.9,<0.6.0; implementation_name=='cpython' and ((sys_platform == "win32" and platform_machine == "amd64") or (sys_platform == "linux" and platform_machine == "x86_64") or sys_platform == "darwin") \ No newline at end of file