py-torchgeo: latest version of torchvision won't work (#31372)

This commit is contained in:
Adam J. Stewart 2022-07-05 02:21:31 -07:00 committed by GitHub
parent d71bbf036f
commit 6dc708670c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,8 @@ class PyTorchgeo(PythonPackage):
depends_on('py-torchmetrics@0.7:', when='@0.2.2:', type=('build', 'run'))
depends_on('py-torchmetrics@0.7:0.8', when='@0.2.1', type=('build', 'run'))
depends_on('py-torchmetrics@:0.7', when='@:0.2.0', type=('build', 'run'))
depends_on('py-torchvision@0.10:', when='@0.2:', type=('build', 'run'))
depends_on('py-torchvision@0.3:', type=('build', 'run'))
depends_on('py-torchvision@0.10:0.12', when='@0.2:', type=('build', 'run'))
depends_on('py-torchvision@0.3:0.12', type=('build', 'run'))
# Optional dependencies
with when('+datasets'):