Просмотр исходного кода

[build] Pin `curl-cffi` to 0.5.10 for Windows

Ref: https://github.com/yifeikong/curl-impersonate/issues/72

Closes #10426
Authored by: bashonly
bashonly 8 месяцев назад
Родитель
Сommit
ac30941ae6
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      pyproject.toml

+ 2 - 1
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",