Skip to content

Remove aiohttp from direct dependencies - #7294

Merged
lhoestq merged 3 commits into
huggingface:mainfrom
akx:aiohttp-optional-dep
May 7, 2025
Merged

lhoestq merged 3 commits into
huggingface:mainfrom
akx:aiohttp-optional-dep

Conversation

@akx

@akx akx commented Nov 18, 2024

Copy link
Copy Markdown
Contributor

The dependency is only used for catching an exception from other code. That can be done with an import guard.

akx and others added 2 commits November 18, 2024 15:58

@lhoestq lhoestq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

great ! I moved it to optional dependencies

@lhoestq
lhoestq merged commit a6461e9 into huggingface:main May 7, 2025
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.

2 participants