Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Oct 28, 2025

Fix #3487.

In huggingface_hub v1.0 release, we've removed our dependency on aiohttp to replace it with httpx but we forgot to remove it from the huggingface_hub[inference] extra dependencies in setup.py. This PR removes it, making the inference extra removed as well.

The internal method _import_aiohttp being unused, it has been removed as well.

Thanks @lahwaacz for spotting this!

@Wauplin Wauplin requested a review from hanouticelina October 28, 2025 12:33
Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you and thanks @lahwaacz for flagging this!

@Wauplin Wauplin mentioned this pull request Oct 28, 2025
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Wauplin Wauplin merged commit 6e320a1 into main Oct 28, 2025
21 checks passed
@Wauplin Wauplin deleted the remove-aiohttp-dep branch October 28, 2025 12:47
Wauplin added a commit that referenced this pull request Oct 28, 2025
* Remove aiohttp dependency

* too fast
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aiohttp removed?

4 participants