diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-04-21 11:43:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 11:43:30 -0500 |
commit | 4f5bd044d61af99cb7741b360d0f48f031f212fa (patch) | |
tree | 463103beeb8ee575ce49120999d514b19bb6256d | |
parent | 752342430b9bba914f7df6a33d1a4f1d3c14b982 (diff) | |
download | spack-4f5bd044d61af99cb7741b360d0f48f031f212fa.tar.gz spack-4f5bd044d61af99cb7741b360d0f48f031f212fa.tar.bz2 spack-4f5bd044d61af99cb7741b360d0f48f031f212fa.tar.xz spack-4f5bd044d61af99cb7741b360d0f48f031f212fa.zip |
py-torchvision: add new version (#16208)
-rw-r--r-- | var/spack/repos/builtin/packages/py-torchvision/package.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py index bfef2202e2..faee2f087a 100644 --- a/var/spack/repos/builtin/packages/py-torchvision/package.py +++ b/var/spack/repos/builtin/packages/py-torchvision/package.py @@ -11,7 +11,7 @@ class PyTorchvision(PythonPackage): architectures, and common image transformations for computer vision.""" homepage = "https://github.com/pytorch/vision" - url = "https://github.com/pytorch/vision/archive/v0.5.0.tar.gz" + url = "https://github.com/pytorch/vision/archive/v0.6.0.tar.gz" maintainers = ['adamjstewart'] import_modules = [ @@ -21,17 +21,20 @@ class PyTorchvision(PythonPackage): 'torchvision.models.detection' ] + version('0.6.0', sha256='02de11b3abe6882de4032ce86dab9c7794cbc84369b44d04e667486580f0f1f7') version('0.5.0', sha256='eb9afc93df3d174d975ee0914057a9522f5272310b4d56c150b955c287a4d74d') version('0.4.2', sha256='1184a27eab85c9e784bacc6f9d6fec99e168ab4eda6047ef9f709e7fdb22d8f9') version('0.4.1', sha256='053689351272b3bd2ac3e6ba51efd284de0e4ca4a301f54674b949f1e62b7176') version('0.4.0', sha256='c270d74e568bad4559fed4544f6dd1e22e2eb1c60b088e04a5bd5787c4150589') version('0.3.0', sha256='c205f0618c268c6ed2f8abb869ef6eb83e5339c1336c243ad321a2f2a85195f0') + depends_on('python@3:', when='@0.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-numpy', type=('build', 'run')) - 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-six', when='@:0.5', type=('build', 'run')) + depends_on('py-torch@1.4:', when='@0.6:', type=('build', 'run')) + depends_on('py-torch@1.2:', when='@0.4:', type=('build', 'run')) + depends_on('py-torch@1.1:', type=('build', 'run')) # 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 |