Skip to content

[yt-dlp] Remove unused websockets dependency#16086

Merged
srittau merged 1 commit into
python:mainfrom
h-takeyeah:patch-1
Jul 24, 2026
Merged

[yt-dlp] Remove unused websockets dependency#16086
srittau merged 1 commit into
python:mainfrom
h-takeyeah:patch-1

Conversation

@h-takeyeah

Copy link
Copy Markdown
Contributor

websockets is not imported anywhere in the yt-dlp stubs; it was a leftover from the initial stub PR (#14216). Splitting out from #16084 per reviewer's suggestion.

websockets is not imported anywhere in the stubs, and yt-dlp itself
treats it as an optional runtime dependency (falls back to None if
missing). This was likely a leftover from the initial stub PR (python#14216)
that was never cleaned up.
@h-takeyeah

Copy link
Copy Markdown
Contributor Author

I searched stubtest-dependencies that includes websockets by using grep, but nothing found. Therefore It would be OK. If you find mistake, please kindly let me know, thanks!

@srittau
srittau merged commit dacba79 into python:main Jul 24, 2026
52 checks passed
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.

3 participants