py-torchvision 0.4.X does not support py-pillow 7.X.Y (#14381)

This commit is contained in:
Adam J. Stewart 2020-01-04 14:21:29 -06:00 committed by GitHub
parent d83d7ce694
commit 378016d350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.