From b1f38f6fa2326adb4245763da349a58a5205aae9 Mon Sep 17 00:00:00 2001 From: Glenn Johnson Date: Sat, 26 Mar 2022 21:21:37 -0500 Subject: [PATCH] py-torchvision: adjust jpeg dependency (#29614) --- var/spack/repos/builtin/packages/py-torchvision/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py index 7d567773c9..b1bc5908a9 100644 --- a/var/spack/repos/builtin/packages/py-torchvision/package.py +++ b/var/spack/repos/builtin/packages/py-torchvision/package.py @@ -88,7 +88,7 @@ class PyTorchvision(PythonPackage): depends_on('pil@5.3:8.2,8.4:', when='@0.10: backend=pil', type=('build', 'run')) depends_on('py-accimage', when='backend=accimage', type=('build', 'run')) depends_on('libpng@1.6.0:', when='backend=png') - depends_on('jpeg', when='backend=jpeg') + depends_on('jpeg') # Many of the datasets require additional dependencies to use. # These can be installed after the fact.