python3Packages.torchaudio: add missing test dependency (#537723)

This commit is contained in:
Gaétan Lepage
2026-07-02 12:26:32 +00:00
committed by GitHub
4 changed files with 10 additions and 4 deletions
@@ -71,7 +71,8 @@ buildPythonPackage (finalAttrs: {
meta = {
description = "PyTorch audio library";
homepage = "https://pytorch.org/";
homepage = "https://pytorch.org/audio";
downloadPage = "https://github.com/pytorch/audio";
changelog = "https://github.com/pytorch/audio/releases/tag/v${finalAttrs.version}";
# Includes CUDA and Intel MKL, but redistributions of the binary are not limited.
# https://docs.nvidia.com/cuda/eula/index.html
@@ -15,6 +15,7 @@
torchcodec,
# tests
expecttest,
inflect,
parameterized,
pytestCheckHook,
@@ -104,6 +105,7 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
pythonImportsCheck = [ "torchaudio" ];
nativeCheckInputs = [
expecttest
inflect
parameterized
pytestCheckHook
@@ -166,7 +168,8 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
meta = {
description = "PyTorch audio library";
homepage = "https://pytorch.org/";
homepage = "https://pytorch.org/audio";
downloadPage = "https://github.com/pytorch/audio";
changelog = "https://github.com/pytorch/audio/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd2;
platforms =
@@ -65,7 +65,8 @@ buildPythonPackage {
meta = {
description = "PyTorch vision library";
homepage = "https://pytorch.org/";
homepage = "https://pytorch.org/vision";
downloadPage = "https://github.com/pytorch/vision";
changelog = "https://github.com/pytorch/vision/releases/tag/v${version}";
# Includes CUDA and Intel MKL, but redistributions of the binary are not limited.
# https://docs.nvidia.com/cuda/eula/index.html
@@ -84,7 +84,8 @@ buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
meta = {
description = "PyTorch vision library";
homepage = "https://pytorch.org/";
homepage = "https://pytorch.org/vision";
downloadPage = "https://github.com/pytorch/vision";
changelog = "https://github.com/pytorch/vision/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.bsd3;
platforms = with lib.platforms; linux ++ lib.optionals (!cudaSupport) darwin;