Support DASK backend in XARRAY. (#29726)

* Support DASK backend in XARRAY.

* Create XARRAY parallel variant with correct py-dask dependency.
This commit is contained in:
Nichols A. Romero 2022-03-29 15:02:40 -05:00 committed by GitHub
parent ef23c3b122
commit f66e7aea94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,6 +29,7 @@ class PyXarray(PythonPackage):
version('0.9.1', sha256='89772ed0e23f0e71c3fb8323746374999ecbe79c113e3fadc7ae6374e6dc0525')
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'))
@ -63,3 +64,4 @@ class PyXarray(PythonPackage):
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-dask+array+dataframe+distributed+diagnostics+delayed', when='+parallel', type=('build', 'run'))