diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-06-06 07:28:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 16:28:11 +0200 |
commit | fb173f80b2de32e158e2c3837f93d988266705a1 (patch) | |
tree | aaa771e1fc48f7cdfd5498213fc66497f4db6ef5 | |
parent | 15d4262b9bf4629768301c7b8cb55bce28cab82d (diff) | |
download | spack-fb173f80b2de32e158e2c3837f93d988266705a1.tar.gz spack-fb173f80b2de32e158e2c3837f93d988266705a1.tar.bz2 spack-fb173f80b2de32e158e2c3837f93d988266705a1.tar.xz spack-fb173f80b2de32e158e2c3837f93d988266705a1.zip |
py-torchmetrics: add v0.9.0 (#31000)
-rw-r--r-- | var/spack/repos/builtin/packages/py-torchgeo/package.py | 3 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-torchmetrics/package.py | 7 |
2 files changed, 8 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 24ed850e2f..1802f1218b 100644 --- a/var/spack/repos/builtin/packages/py-torchgeo/package.py +++ b/var/spack/repos/builtin/packages/py-torchgeo/package.py @@ -51,7 +51,8 @@ class PyTorchgeo(PythonPackage): depends_on('py-shapely@1.3:', type=('build', 'run')) depends_on('py-timm@0.2.1:', type=('build', 'run')) depends_on('py-torch@1.7:', type=('build', 'run')) - depends_on('py-torchmetrics@0.7:', when='@0.2.1:', type=('build', 'run')) + 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')) diff --git a/var/spack/repos/builtin/packages/py-torchmetrics/package.py b/var/spack/repos/builtin/packages/py-torchmetrics/package.py index a1250a615a..e379530621 100644 --- a/var/spack/repos/builtin/packages/py-torchmetrics/package.py +++ b/var/spack/repos/builtin/packages/py-torchmetrics/package.py @@ -12,16 +12,21 @@ class PyTorchmetrics(PythonPackage): homepage = "https://github.com/PyTorchLightning/metrics" pypi = "torchmetrics/torchmetrics-0.3.1.tar.gz" + maintainers = ['adamjstewart'] + + version('0.9.0', sha256='3aa32ea575915b313d872d3460996c0f12a7bb37e6ce3da0e8d80865603b89f6') version('0.7.0', sha256='dbfb8989086f38020045a935e83928504e1af1d84ae92b073f6a83d018f4bc00') version('0.5.1', sha256='22fbcb6fc05348ca3f2bd06e0763e88411a6b68c2b9fc26084b39d40cc4021b0') version('0.4.1', sha256='2fc50f812210c33b8c2649dbb1482e3c47e93cae33e4b3d0427fb830384effbd') version('0.3.1', sha256='78f4057db53f7c219fdf9ec9eed151adad18dd43488a44e5c780806d218e3f1d') version('0.2.0', sha256='481a28759acd2d77cc088acba6bc7dc4a356c7cb767da2e1495e91e612e2d548') + depends_on('python@3.7:', when='@0.9:', type=('build', 'run')) depends_on('python@3.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') depends_on('py-numpy@1.17.2:', when='@0.4:', type=('build', 'run')) depends_on('py-numpy', when='@0.3:', type=('build', 'run')) depends_on('py-torch@1.3.1:', type=('build', 'run')) - depends_on('py-pydeprecate@0.3', when='@0.7:', type=('build', 'run')) + depends_on('py-pydeprecate@0.3', when='@0.7:0.8', type=('build', 'run')) depends_on('py-packaging', when='@0.3:', type=('build', 'run')) + depends_on('py-typing-extensions', when='@0.9: ^python@:3.7', type=('build', 'run')) |