[httpx migration] Import httpx from huggingface_hub by Wauplin · Pull Request #14753 · huggingface/diffusers · GitHub
Skip to content

[httpx migration] Import httpx from huggingface_hub - #14753

Merged
sayakpaul merged 1 commit into
huggingface:mainfrom
Wauplin:fix-httpx-imports
Sep 10, 2026
Merged

sayakpaul merged 1 commit into
huggingface:mainfrom
Wauplin:fix-httpx-imports

Conversation

@Wauplin

@Wauplin Wauplin commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Following huggingface_hub#4803, import httpx from huggingface_hub.utils and remove the direct dependency.

Goal is to make Diffusers compatible with both huggingface_hub 1.x and 2.x when the switch to httpx2 happens. See the migration plan.

@github-actions github-actions Bot added size/S PR with diff < 50 LOC utils pipelines and removed size/S PR with diff < 50 LOC labels Sep 10, 2026
@Wauplin
Wauplin marked this pull request as ready for review September 10, 2026 16:34
@Wauplin
Wauplin requested review from DN6 and sayakpaul September 10, 2026 16:34
@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

@sayakpaul
sayakpaul merged commit a71e62e into huggingface:main Sep 10, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants