diff options
author | bashonly <bashonly@protonmail.com> | 2024-07-11 18:48:14 -0500 |
---|---|---|
committer | bashonly <88596187+bashonly@users.noreply.github.com> | 2024-07-12 14:34:19 -0500 |
commit | ac30941ae682f71eab010877c9a977736a61d3cf (patch) | |
tree | e9339dcb72beb513bf49cc0e58797d4a6e7c40be | |
parent | cc1a3098c00995c6aebc2a16bd1050a66bad64db (diff) |
[build] Pin `curl-cffi` to 0.5.10 for Windows
Ref: https://github.com/yifeikong/curl-impersonate/issues/72
Closes #10426
Authored by: bashonly
-rw-r--r-- | pyproject.toml | 3 |
1 files changed, 2 insertions, 1 deletions
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", |