Skip to content

fix: support librosa 1 duration API - #1

Open
bzikst wants to merge 1 commit into
mainfrom
fix/librosa-1-duration-path
Open

bzikst wants to merge 1 commit into
mainfrom
fix/librosa-1-duration-path

Conversation

@bzikst

@bzikst bzikst commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Root cause

A Vast validation run against the refreshed dependency stack reached CommonSeparator.write_audio() with librosa 1.x. librosa.get_duration() no longer accepts the deprecated filename= alias, so the duration lookup fails before the output can be written.

Use the supported path= keyword. This is the producer-side API compatibility fix; it does not add a wrapper, fallback, or exception guard.

Validation

  • python -m py_compile audio_separator/separator/common_separator.py
  • git diff --check
  • one-file, one-line semantic diff

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