Skip to content

MAINT: Removing pydub as a dependency#1445

Open
jbolor21 wants to merge 4 commits intoAzure:mainfrom
jbolor21:users/bjagdagdorj/pydub
Open

MAINT: Removing pydub as a dependency#1445
jbolor21 wants to merge 4 commits intoAzure:mainfrom
jbolor21:users/bjagdagdorj/pydub

Conversation

@jbolor21
Copy link
Contributor

@jbolor21 jbolor21 commented Mar 7, 2026

Description

Removing pydub as a dependency. This was only used in our audio_transcript_scorer to extract audio from a video file.

Tests and Documentation

Reran unit tests and notebooks

def _check_ffmpeg_installed() -> bool:
"""
Check if ffmpeg is installed and available on PATH.

Copy link
Contributor

Choose a reason for hiding this comment

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

It's okay to check this first, but likely not installed. @romanlutz lmk what you think, but imo we should use something like PyAV as an "all" dependency. It's relatively big, but we'll likely need a lot of audio/video editing and that seems like a good approach.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree. I suspect consumers may be less excited but having a million classes with a check on whether or not av is installed is silly. I imagine we'll have A LOT of converters with this over time.

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