From 6dc708670cc503783e7d2b52e111a9acafa0b38e Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 5 Jul 2022 02:21:31 -0700 Subject: py-torchgeo: latest version of torchvision won't work (#31372) --- var/spack/repos/builtin/packages/py-torchgeo/package.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-torchgeo/package.py b/var/spack/repos/builtin/packages/py-torchgeo/package.py index 661bc0679f..71f76dba27 100644 --- a/var/spack/repos/builtin/packages/py-torchgeo/package.py +++ b/var/spack/repos/builtin/packages/py-torchgeo/package.py @@ -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'): -- cgit v1.2.3-70-g09d2