Pin urllib3

This commit is contained in:
Sylvain Gugger 2023-05-04 12:00:22 -04:00
parent 57ffd8ab4c
commit 3341bb41cd
No known key found for this signature in database
GPG Key ID: 4198F83D867EFC2E
2 changed files with 3 additions and 1 deletions

View File

@ -185,6 +185,7 @@ _deps = [
"tqdm>=4.27",
"unidic>=1.0.2",
"unidic_lite>=1.0.7",
"urllib3<2.0.0",
"uvicorn",
]
@ -331,7 +332,7 @@ extras["testing"] = (
extras["deepspeed-testing"] = extras["deepspeed"] + extras["testing"] + extras["optuna"] + extras["sentencepiece"]
extras["quality"] = deps_list("black", "datasets", "isort", "ruff", "GitPython", "hf-doc-builder")
extras["quality"] = deps_list("black", "datasets", "isort", "ruff", "GitPython", "hf-doc-builder", "urllib3")
extras["all"] = (
extras["tf"]

View File

@ -85,5 +85,6 @@ deps = {
"tqdm": "tqdm>=4.27",
"unidic": "unidic>=1.0.2",
"unidic_lite": "unidic_lite>=1.0.7",
"urllib3": "urllib3<2.0.0",
"uvicorn": "uvicorn",
}