From 8f55858c6386547e37ac96ccbf91e7fbbc4d10b8 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 4561abaf4ddf..9d61bd19caa8 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'; implementation_name=='cpython'", + "curl-cffi>=0.5.10,!=0.6.*,<0.8; os_name!='nt'; implementation_name=='cpython'", ] secretstorage = [ "cffi",