From ac30941ae682f71eab010877c9a977736a61d3cf Mon Sep 17 00:00:00 2001 From: bashonly Date: Thu, 11 Jul 2024 18:48:14 -0500 Subject: [PATCH] [build] Pin `curl-cffi` to 0.5.10 for Windows Ref: https://github.com/yifeikong/curl-impersonate/issues/72 Closes #10426 Authored by: bashonly --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4561abaf4..54755da48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,8 @@ dependencies = [ [project.optional-dependencies] default = [] curl-cffi = [ - "curl-cffi>=0.5.10,!=0.6.*,<0.8; implementation_name=='cpython'", + "curl-cffi==0.5.10; os_name=='nt' and implementation_name=='cpython'", + "curl-cffi>=0.5.10,!=0.6.*,<0.8; os_name!='nt' and implementation_name=='cpython'", ] secretstorage = [ "cffi",