From 378016d3507f6e379b3b3f41be013764339b6bb7 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sat, 4 Jan 2020 14:21:29 -0600 Subject: py-torchvision 0.4.X does not support py-pillow 7.X.Y (#14381) --- var/spack/repos/builtin/packages/py-torchvision/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py index 0396e6683a..4c28e7a05e 100644 --- a/var/spack/repos/builtin/packages/py-torchvision/package.py +++ b/var/spack/repos/builtin/packages/py-torchvision/package.py @@ -31,7 +31,9 @@ class PyTorchvision(PythonPackage): depends_on('py-six', type=('build', 'run')) depends_on('py-torch@1.2.0:', when='@0.4.0:', type=('build', 'run')) depends_on('py-torch@1.1.0:', type=('build', 'run')) - depends_on('py-pillow@4.1.1:', type=('build', 'run')) # or py-pillow-simd + # https://github.com/pytorch/vision/issues/1712 + depends_on('py-pillow@4.1.1:6', when='@:0.4', type=('build', 'run')) # or py-pillow-simd + depends_on('py-pillow@4.1.1:', when='@0.5:', type=('build', 'run')) # or py-pillow-simd # Many of the datasets require additional dependencies to use. # These can be installed after the fact. -- cgit v1.2.3-70-g09d2