Skip to content

fix(deps): pin demucs<4.1 to keep tested 4.0.1 (fixes macOS x64 build) - #257

Merged
thcp merged 1 commit into
mainfrom
fix/pin-demucs-4.0.1
Jul 12, 2026
Merged

fix(deps): pin demucs<4.1 to keep tested 4.0.1 (fixes macOS x64 build)#257
thcp merged 1 commit into
mainfrom
fix/pin-demucs-4.0.1

Conversation

@thcp

@thcp thcp commented Jul 12, 2026

Copy link
Copy Markdown
Collaborator

demucs 4.1.0 (2026-07-11) added a native sphn dependency with no Intel-macOS wheel, breaking the x64 macOS release build (CMake <3.5 removed). The release install path resolves fresh (ignores uv.lock), so it grabbed 4.1.0. Linux/Windows survived on sphn wheels but silently shipped the untested 4.1.0.

Pin demucs>=4.0.1,<4.1 - the version every prior release shipped and the one the torch pins target. uv.lock unchanged at 4.0.1.

demucs 4.1.0 (published 2026-07-11) added a dependency on `sphn`, a Rust/CMake
native package with no Intel-macOS wheel. The macOS x64 release build resolves
deps fresh (not from uv.lock) and picked up 4.1.0, then failed compiling sphn
from source (CMake dropped <3.5 compatibility). Linux/Windows only survived
because sphn ships wheels there, silently shipping the untested 4.1.0.

Pin >=4.0.1,<4.1 so every build path uses the 4.0.1 that the lockfile and the
torch/torchaudio pins were written for.
@thcp
thcp merged commit b645d17 into main Jul 12, 2026
8 checks passed
@thcp
thcp deleted the fix/pin-demucs-4.0.1 branch July 12, 2026 21:19
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