Skip to content

fix: remove librosa as a hard dependency#70

Open
hmzonedocs-ship-it wants to merge 1 commit into
browser-use:mainfrom
hmzonedocs-ship-it:fix/remove-librosa-hard-dependency
Open

fix: remove librosa as a hard dependency#70
hmzonedocs-ship-it wants to merge 1 commit into
browser-use:mainfrom
hmzonedocs-ship-it:fix/remove-librosa-hard-dependency

Conversation

@hmzonedocs-ship-it

@hmzonedocs-ship-it hmzonedocs-ship-it commented Jun 17, 2026

Copy link
Copy Markdown

Summary

  • Removes librosa from pyproject.toml hard dependencies
  • librosa pulls in numba → llvmlite, which requires compiling against LLVM 14 specifically and fails on fresh macOS installs where only newer LLVM is available via brew
  • timeline_view.py already has an ffmpeg-based fallback for the waveform envelope and explicitly comments that librosa is not a hard dep
  • The core editing pipeline (transcription, EDL, render, grade) does not use librosa at all

Test plan

  • uv sync completes without errors on a fresh macOS install
  • timeline_view.py waveform generation works via ffmpeg fallback
  • Core edit pipeline (transcribe → pack → render) unaffected

🤖 Generated with Claude Code


Summary by cubic

Removed librosa from pyproject.toml to avoid the numba/llvmlite LLVM 14 build requirement and fix uv sync failures on fresh macOS installs. Waveform generation uses the existing ffmpeg fallback, and the core editing pipeline is unaffected.

Written for commit 7f683f3. Summary will update on new commits.

Review in cubic

librosa pulls in numba → llvmlite, which requires compiling against a
specific LLVM version (14) and fails on fresh macOS installs where only
newer LLVM is available via brew.

timeline_view.py already has an ffmpeg-based fallback for the waveform
envelope and explicitly comments that librosa is not a hard dep. The
core editing pipeline (transcription, EDL, render, grade) does not use
librosa at all.

Removing it from pyproject.toml lets `uv sync` complete without
requiring a system LLVM installation.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 1 file

Re-trigger cubic

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.

1 participant