py-torchvision: adjust jpeg dependency (#29614)

This commit is contained in:
Glenn Johnson 2022-03-26 21:21:37 -05:00 committed by GitHub
parent 8e4e69e91d
commit b1f38f6fa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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('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('py-accimage', when='backend=accimage', type=('build', 'run'))
depends_on('libpng@1.6.0:', when='backend=png') 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. # Many of the datasets require additional dependencies to use.
# These can be installed after the fact. # These can be installed after the fact.