summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-05-10 16:45:55 -0500
committerGitHub <noreply@github.com>2022-05-10 21:45:55 +0000
commit4baed234be5820b6dde4fa0331839325a3b460c1 (patch)
tree00b2ab14bf591563f87910d38ebe8e195f5b4cd2 /var
parent9de1edee80c0a01d1202f4afe66dad6bb401b87c (diff)
downloadspack-4baed234be5820b6dde4fa0331839325a3b460c1.tar.gz
spack-4baed234be5820b6dde4fa0331839325a3b460c1.tar.bz2
spack-4baed234be5820b6dde4fa0331839325a3b460c1.tar.xz
spack-4baed234be5820b6dde4fa0331839325a3b460c1.zip
py-xarray: add v2022.3.0 (#30599)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-xarray/package.py64
1 files changed, 37 insertions, 27 deletions
diff --git a/var/spack/repos/builtin/packages/py-xarray/package.py b/var/spack/repos/builtin/packages/py-xarray/package.py
index a8bc0d1753..6f2d6b2838 100644
--- a/var/spack/repos/builtin/packages/py-xarray/package.py
+++ b/var/spack/repos/builtin/packages/py-xarray/package.py
@@ -19,6 +19,7 @@ class PyXarray(PythonPackage):
'xarray.backends', 'xarray.coding'
]
+ version('2022.3.0', sha256='398344bf7d170477aaceff70210e11ebd69af6b156fe13978054d25c48729440')
version('0.18.2', sha256='5d2e72a228286fcf60f66e16876bd27629a1a70bf64822c565f16515c4d10284')
version('0.17.0', sha256='9c2edad2a4e588f9117c666a4249920b9717fb75703b96998cf65fcd4f60551f')
version('0.16.2', sha256='38e8439d6c91bcd5b7c0fca349daf8e0643ac68850c987262d53526e9d7d01e4')
@@ -31,37 +32,46 @@ class PyXarray(PythonPackage):
variant('io', default=False, description='Build io backends')
variant('parallel', default=False, description='Build parallel backend')
- depends_on('python@2.7:2.8,3.5:', when='@0.11:', type=('build', 'run'))
- depends_on('python@3.5:', when='@0.12', type=('build', 'run'))
- depends_on('python@3.5.3:', when='@0.13', type=('build', 'run'))
- depends_on('python@3.6:', when='@0.14:', type=('build', 'run'))
- depends_on('python@3.7:', when='@0.17:', type=('build', 'run'))
-
- depends_on('py-setuptools', when='@:0.15', type='build')
+ # pyproject.toml
+ depends_on('py-setuptools', when='@:0.15', type='build')
depends_on('py-setuptools@38.4:', when='@0.16:', type=('build', 'run'))
- depends_on('py-setuptools@40.4:', when='@0.17:', type=('build', 'run'))
- depends_on('py-setuptools-scm', when='@0.15:', type='build')
+ depends_on('py-setuptools@42:', when='@0.17:', type=('build', 'run'))
+ depends_on('py-setuptools-scm', when='@0.15:', type='build')
+ depends_on('py-setuptools-scm@3.4:+toml', when='@0.17:', type='build')
+ depends_on('py-setuptools-scm-git-archive', when='@0.17:', type='build')
+
+ # setup.cfg
+ depends_on('python@2.7,3.5:', when='@0.11:', type=('build', 'run'))
+ depends_on('python@3.5:', when='@0.12', type=('build', 'run'))
+ depends_on('python@3.5.3:', when='@0.13', type=('build', 'run'))
+ depends_on('python@3.6:', when='@0.14:', type=('build', 'run'))
+ depends_on('python@3.7:', when='@0.17:', type=('build', 'run'))
+ depends_on('python@3.8:', when='@0.21:', type=('build', 'run'))
+
+ depends_on('py-numpy@1.7:', when='@0.9.1', type=('build', 'run'))
+ depends_on('py-numpy@1.12:', when='@0.11:0.13', type=('build', 'run'))
+ depends_on('py-numpy@1.14:', when='@0.14.0', type=('build', 'run'))
+ depends_on('py-numpy@1.15:', when='@0.15:', type=('build', 'run'))
+ depends_on('py-numpy@1.17:', when='@0.18:', type=('build', 'run'))
+ depends_on('py-numpy@1.18:', when='@0.20:', type=('build', 'run'))
- depends_on('py-pandas@0.15.0:', when='@0.9.1', type=('build', 'run'))
- depends_on('py-pandas@0.19.2:', when='@0.11:0.13', type=('build', 'run'))
- depends_on('py-pandas@0.24:', when='@0.14.0', type=('build', 'run'))
- depends_on('py-pandas@0.25:', when='@0.15:', type=('build', 'run'))
- depends_on('py-pandas@1:', when='@0.18:', type=('build', 'run'))
+ depends_on('py-pandas@0.15.0:', when='@0.9.1', type=('build', 'run'))
+ depends_on('py-pandas@0.19.2:', when='@0.11:0.13', type=('build', 'run'))
+ depends_on('py-pandas@0.24:', when='@0.14.0', type=('build', 'run'))
+ depends_on('py-pandas@0.25:', when='@0.15:', type=('build', 'run'))
+ depends_on('py-pandas@1:', when='@0.18:', type=('build', 'run'))
+ depends_on('py-pandas@1.1:', when='@0.20:', type=('build', 'run'))
- depends_on('py-numpy@1.7:', when='@0.9.1', type=('build', 'run'))
- depends_on('py-numpy@1.12:', when='@0.11:0.13', type=('build', 'run'))
- depends_on('py-numpy@1.14:', when='@0.14.0', type=('build', 'run'))
- depends_on('py-numpy@1.15:', when='@0.15:', type=('build', 'run'))
- depends_on('py-numpy@1.17:', when='@0.18:', type=('build', 'run'))
+ depends_on('py-packaging@20:', when='@0.21:', type=('build', 'run'))
- depends_on('py-netcdf4', when='+io', type=('build', 'run'))
+ depends_on('py-netcdf4', when='+io', type=('build', 'run'))
depends_on('py-h5netcdf', when='+io', type=('build', 'run'))
- depends_on('py-scipy', when='+io', type=('build', 'run'))
- depends_on('py-pydap', when='+io', type=('build', 'run'))
- depends_on('py-zarr', when='+io', type=('build', 'run'))
- depends_on('py-fsspec', when='+io', type=('build', 'run'))
- depends_on('py-cftime', when='+io', type=('build', 'run'))
+ depends_on('py-scipy', when='+io', type=('build', 'run'))
+ depends_on('py-pydap', when='+io', type=('build', 'run'))
+ depends_on('py-zarr', when='+io', type=('build', 'run'))
+ depends_on('py-fsspec', when='+io', type=('build', 'run'))
+ depends_on('py-cftime', when='+io', type=('build', 'run'))
depends_on('py-rasterio', when='+io', type=('build', 'run'))
- depends_on('py-cfgrib', when='+io', type=('build', 'run'))
- depends_on('py-pooch', when='+io', type=('build', 'run'))
+ depends_on('py-cfgrib', when='+io', type=('build', 'run'))
+ depends_on('py-pooch', when='+io', type=('build', 'run'))
depends_on('py-dask+array+dataframe+distributed+diagnostics+delayed', when='+parallel', type=('build', 'run'))