python3Packages.whisperx: 3.7.6 -> 3.8.1

Very importantly, whisperx migrated away from pyannote-audio <4 to >= 4 in v3.8.0!

Changelog: https://github.com/m-bain/whisperX/releases/tag/v3.7.7
Changelog: https://github.com/m-bain/whisperX/releases/tag/v3.8.0
Changelog: https://github.com/m-bain/whisperX/releases/tag/v3.8.1

Diff: https://github.com/m-bain/whisperX/compare/v3.7.6...v3.8.1
This commit is contained in:
Benjamin Sparks
2026-02-16 13:48:54 +01:00
parent 0126ad97f3
commit e5e9e17747
@@ -13,6 +13,7 @@
huggingface-hub,
nltk,
numpy,
omegaconf,
pandas,
pyannote-audio,
torch,
@@ -38,14 +39,14 @@ let
in
buildPythonPackage rec {
pname = "whisperx";
version = "3.7.6";
version = "3.8.1";
pyproject = true;
src = fetchFromGitHub {
owner = "m-bain";
repo = "whisperX";
tag = "v${version}";
hash = "sha256-ZHPGQP5HIuFafHGS6ykiSNtHY6QHh0o8DUE2lV41lUI=";
hash = "sha256-2HjQtb8k3px0kqXowKtCXkiG2GuKLCuCtDOPYYa/tbc=";
};
# As `makeWrapperArgs` does not apply to the module, and whisperx depends on `ffmpeg`,
@@ -60,9 +61,6 @@ buildPythonPackage rec {
build-system = [ setuptools ];
pythonRelaxDeps = [
"numpy"
"pandas"
"pyannote-audio"
"torch"
"torchaudio"
];
@@ -72,6 +70,7 @@ buildPythonPackage rec {
huggingface-hub
nltk
numpy
omegaconf
pandas
pyannote-audio
torch
@@ -85,6 +84,8 @@ buildPythonPackage rec {
# No tests in repository
doCheck = false;
pythonImportsCheck = [ "whisperx" ];
meta = {
mainProgram = "whisperx";
description = "Automatic Speech Recognition with Word-level Timestamps (& Diarization)";
@@ -92,14 +93,5 @@ buildPythonPackage rec {
changelog = "https://github.com/m-bain/whisperX/releases/tag/${src.tag}";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.bengsparks ];
# nixpkgs has `pyannote-audio` >= 4.0.0, but `whisperx`'s `pyproject.toml` specifies <4.0.0.
#
# See https://github.com/m-bain/whisperX/issues/1240 for a serious discussion,
# and a potential upgrade in https://github.com/m-bain/whisperX/pull/1243.
# Alternatively read https://github.com/m-bain/whisperX/issues/1336 if you prefer a more humorous perspective.
#
# Failure was first documented in nixpkgs under https://github.com/NixOS/nixpkgs/issues/460172.
broken = true;
};
}