summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-07-05 02:21:31 -0700
committerGitHub <noreply@github.com>2022-07-05 11:21:31 +0200
commit6dc708670cc503783e7d2b52e111a9acafa0b38e (patch)
tree3aa7671408f835b56d8f3c4382466b70b68c338e
parentd71bbf036f989064cb567a33bbb6f366d93d7e19 (diff)
downloadspack-6dc708670cc503783e7d2b52e111a9acafa0b38e.tar.gz
spack-6dc708670cc503783e7d2b52e111a9acafa0b38e.tar.bz2
spack-6dc708670cc503783e7d2b52e111a9acafa0b38e.tar.xz
spack-6dc708670cc503783e7d2b52e111a9acafa0b38e.zip
py-torchgeo: latest version of torchvision won't work (#31372)
-rw-r--r--var/spack/repos/builtin/packages/py-torchgeo/package.py4
1 files 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'):