[httpx migration] Import httpx from huggingface_hub (#56460)

Signed-off-by: Lucain Pouget <lucain@huggingface.co>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lucain
2026-09-11 16:29:31 +01:00
committed by GitHub
co-authored by Claude Opus 5
parent 5fe77aecfc
commit b87339888d
7 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ tqdm
blake3
py-cpuinfo
transformers >= 5.10.4
huggingface_hub >= 1.28.0
huggingface_hub >= 1.31.0 # Required for the `huggingface_hub.utils.httpx` re-export
tokenizers >= 0.21.1 # Required for fast incremental detokenization.
safetensors >= 0.6.2 # MXFP4/MXFP6 dtype support (F8_E8M0, F4) added in 0.6.0: https://github.com/huggingface/safetensors/pull/611
protobuf >= 5.29.6, !=6.30.*, !=6.31.*, !=6.32.*, !=6.33.0.*, !=6.33.1.*, !=6.33.2.*, !=6.33.3.*, !=6.33.4.* # Required by LlamaTokenizer, gRPC. CVE-2026-0994
+1 -1
View File
@@ -342,7 +342,7 @@ httpx==0.27.2
# schemathesis
httpx2==2.12.0
# via mcp
huggingface-hub==1.28.0
huggingface-hub==1.31.0
# via
# -r requirements/test/../common.txt
# accelerate
+1 -1
View File
@@ -361,7 +361,7 @@ httpx==0.27.2
# schemathesis
httpx2==2.12.0
# via mcp
huggingface-hub==1.28.0
huggingface-hub==1.31.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
+1 -1
View File
@@ -354,7 +354,7 @@ httpx==0.27.2
# schemathesis
httpx2==2.12.0
# via mcp
huggingface-hub==1.28.0
huggingface-hub==1.31.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
+1 -1
View File
@@ -232,7 +232,7 @@ httpx2==2.10.0
# via
# mcp
# openai
huggingface-hub==1.28.0
huggingface-hub==1.31.0
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt