diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2021-07-14 12:58:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 14:58:53 -0500 |
commit | 8126a13211bdbdb3a354d418f6a952106450845a (patch) | |
tree | b008a718923d47cb65661edcefe9055cb6212b93 /var | |
parent | b24ba28774e9e73e2da9265fc0aacacf42ec164e (diff) | |
download | spack-8126a13211bdbdb3a354d418f6a952106450845a.tar.gz spack-8126a13211bdbdb3a354d418f6a952106450845a.tar.bz2 spack-8126a13211bdbdb3a354d418f6a952106450845a.tar.xz spack-8126a13211bdbdb3a354d418f6a952106450845a.zip |
Dask: 2021.06.2 (#24606)
* Dask: 2021.06.2
Add the latest DASK release.
* Apply suggestions from code review
Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com>
* Update py-distributed relation
Co-authored-by: Sergey Kosukhin <skosukhin@gmail.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-dask/package.py | 64 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-distributed/package.py | 1 |
2 files changed, 46 insertions, 19 deletions
diff --git a/var/spack/repos/builtin/packages/py-dask/package.py b/var/spack/repos/builtin/packages/py-dask/package.py index 20900d20c3..4358b7c258 100644 --- a/var/spack/repos/builtin/packages/py-dask/package.py +++ b/var/spack/repos/builtin/packages/py-dask/package.py @@ -14,6 +14,7 @@ class PyDask(PythonPackage): maintainers = ['skosukhin'] + version('2021.6.2', sha256='8588fcd1a42224b7cfcd2ebc8ad616734abb6b1a4517efd52d89c7dd66eb91f8') version('2020.12.0', sha256='43e745afd4b464e6c0113131e430a16dce6ac42460b06e24d799093d098f7ab0') version('2.16.0', sha256='2af5b0dcd48ce679ce0321cf91de623f4fe376262789b951fefa3c334002f350') version('1.2.2', sha256='5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c') @@ -30,57 +31,75 @@ class PyDask(PythonPackage): variant('delayed', default=True, description='Install requirements for dask.delayed (dask.imperative)') variant('yaml', default=True, description='Ensure support for YAML configuration files') + conflicts('~bag', when='@2021.3.1:') conflicts('+distributed', when='@:0.4.0,0.7.6:0.8.1') conflicts('+diagnostics', when='@:0.5.0') + conflicts('~delayed', when='@2021.3.1:') conflicts('+yaml', when='@:0.17.5') conflicts('~yaml', when='@2.17.1:') depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('python@3.5:', type=('build', 'run'), when='@2.0.0:') depends_on('python@3.6:', type=('build', 'run'), when='@2.7.0:') + depends_on('python@3.7:', type=('build', 'run'), when='@2021.3.1:') depends_on('py-setuptools', type='build') + # Common requirements + depends_on('py-pyyaml', type=('build', 'run'), when='@2.17.1:') + depends_on('py-cloudpickle@1.1.1:', type=('build', 'run'), when='@2021.3.1:') + depends_on('py-fsspec@0.6.0:', type=('build', 'run'), when='@2021.3.1:') + depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2021.3.1:') + depends_on('py-partd@0.3.10:', type=('build', 'run'), when='@2021.3.1:') + # Requirements for dask.array - depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='+array') + depends_on('py-numpy', type=('build', 'run'), when='@:0.17.1 +array') + depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='@0.17.2: +array') depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.17.3: +array') depends_on('py-numpy@1.13.0:', type=('build', 'run'), when='@1.2.1: +array') depends_on('py-numpy@1.15.1:', type=('build', 'run'), when='@2020.12.0: +array') + depends_on('py-numpy@1.16.0:', type=('build', 'run'), when='@2021.3.1: +array') - depends_on('py-toolz', type=('build', 'run'), when='+array') + depends_on('py-toolz', type=('build', 'run'), when='@:0.6.1 +array') depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.7.0: +array') depends_on('py-toolz@0.7.3:', type=('build', 'run'), when='@0.14.1: +array') - depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0: +array') + # The dependency on py-toolz is non-optional starting version 2021.3.1 + depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +array') # Requirements for dask.bag depends_on('py-dill', type=('build', 'run'), when='@:0.7.5 +bag') depends_on('py-cloudpickle', type=('build', 'run'), when='@0.7.6: +bag') depends_on('py-cloudpickle@0.2.1:', type=('build', 'run'), when='@0.8.2: +bag') - depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'), when='@2.13.0: +bag') + # The dependency on py-cloudpickle is non-optional starting version 2021.3.1 + depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +bag') depends_on('py-fsspec@0.3.3:', type=('build', 'run'), when='@2.2.0: +bag') depends_on('py-fsspec@0.5.1:', type=('build', 'run'), when='@2.5.0: +bag') - depends_on('py-fsspec@0.6.0:', type=('build', 'run'), when='@2.8.0: +bag') + # The dependency on py-fsspec is non-optional starting version 2021.3.1 + depends_on('py-fsspec@0.6.0:', type=('build', 'run'), when='@2.8.0:2021.3.0 +bag') - depends_on('py-toolz', type=('build', 'run'), when='+bag') + depends_on('py-toolz', type=('build', 'run'), when='@:0.6.1 +bag') depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.7.0: +bag') depends_on('py-toolz@0.7.3:', type=('build', 'run'), when='@0.14.1: +bag') - depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0: +bag') + # The dependency on py-toolz is non-optional starting version 2021.3.1 + depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +bag') - depends_on('py-partd', type=('build', 'run'), when='+bag') depends_on('py-partd@0.3.2:', type=('build', 'run'), when='@0.6.0: +bag') depends_on('py-partd@0.3.3:', type=('build', 'run'), when='@0.9.0: +bag') depends_on('py-partd@0.3.5:', type=('build', 'run'), when='@0.10.2: +bag') depends_on('py-partd@0.3.6:', type=('build', 'run'), when='@0.12.0: +bag') depends_on('py-partd@0.3.7:', type=('build', 'run'), when='@0.13.0: +bag') depends_on('py-partd@0.3.8:', type=('build', 'run'), when='@0.15.0: +bag') - depends_on('py-partd@0.3.10:', type=('build', 'run'), when='@2.0.0: +bag') + # The dependency on py-partd is non-optional starting version 2021.3.1 + depends_on('py-partd@0.3.10:', type=('build', 'run'), when='@2.0.0:2021.3.0 +bag') # Requirements for dask.dataframe - depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='+dataframe') + depends_on('py-numpy', type=('build', 'run'), when='@:0.17.1 +dataframe') + depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='@0.17.2: +dataframe') depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.17.3: +dataframe') depends_on('py-numpy@1.13.0:', type=('build', 'run'), when='@1.2.1: +dataframe') depends_on('py-numpy@1.15.1:', type=('build', 'run'), when='@2020.12.0: +dataframe') + depends_on('py-numpy@1.16.0:', type=('build', 'run'), when='@2021.3.1: +dataframe') depends_on('py-pandas@0.16.0:', type=('build', 'run'), when='+dataframe') depends_on('py-pandas@0.18.0:', type=('build', 'run'), when='@0.9.0: +dataframe') @@ -89,24 +108,27 @@ class PyDask(PythonPackage): depends_on('py-pandas@0.23.0:', type=('build', 'run'), when='@2.11.0: +dataframe') depends_on('py-pandas@0.25.0:', type=('build', 'run'), when='@2020.12.0: +dataframe') - depends_on('py-toolz', type=('build', 'run'), when='+dataframe') + depends_on('py-toolz', type=('build', 'run'), when='@:0.6.1 +dataframe') depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.7.0: +dataframe') depends_on('py-toolz@0.7.3:', type=('build', 'run'), when='@0.14.1: +dataframe') - depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0: +dataframe') + # The dependency on py-toolz is non-optional starting version 2021.3.1 + depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +dataframe') - depends_on('py-partd', type=('build', 'run'), when='+dataframe') depends_on('py-partd@0.3.2:', type=('build', 'run'), when='@0.6.0: +dataframe') depends_on('py-partd@0.3.3:', type=('build', 'run'), when='@0.9.0: +dataframe') depends_on('py-partd@0.3.5:', type=('build', 'run'), when='@0.10.2: +dataframe') depends_on('py-partd@0.3.7:', type=('build', 'run'), when='@0.13.0: +dataframe') depends_on('py-partd@0.3.8:', type=('build', 'run'), when='@0.15.0: +dataframe') depends_on('py-partd@0.3.10:', type=('build', 'run'), when='@2.0.0: +dataframe') + # The dependency on py-partd is non-optional starting version 2021.3.1 + depends_on('py-partd@0.3.10:', type=('build', 'run'), when='@2.0.0:2021.3.0 +dataframe') depends_on('py-cloudpickle@0.2.1:', type=('build', 'run'), when='@0.8.2:2.6.0 +dataframe') depends_on('py-fsspec@0.3.3:', type=('build', 'run'), when='@2.2.0: +dataframe') depends_on('py-fsspec@0.5.1:', type=('build', 'run'), when='@2.5.0: +dataframe') - depends_on('py-fsspec@0.6.0:', type=('build', 'run'), when='@2.8.0: +dataframe') + # The dependency on py-fsspec is non-optional starting version 2021.3.1 + depends_on('py-fsspec@0.6.0:', type=('build', 'run'), when='@2.8.0:2021.3.0 +dataframe') # Requirements for dask.distributed depends_on('py-dill', type=('build', 'run'), when='@:0.7.5 +distributed') @@ -121,22 +143,26 @@ class PyDask(PythonPackage): depends_on('py-distributed@1.21:', type=('build', 'run'), when='@0.17.0: +distributed') depends_on('py-distributed@1.22:', type=('build', 'run'), when='@0.18.0: +distributed') depends_on('py-distributed@2.0:', type=('build', 'run'), when='@2.0.0: +distributed') + depends_on('py-distributed@2020.12.0:', type=('build', 'run'), when='@2020.12.0: +distributed') + depends_on('py-distributed@2021.6.2:', type=('build', 'run'), when='@2021.6.2: +distributed') # Requirements for dask.diagnostics - depends_on('py-bokeh', type=('build', 'run'), when='+diagnostics') depends_on('py-bokeh@1.0.0:', type=('build', 'run'), when='@2.0.0: +diagnostics') depends_on('py-bokeh@1.0.0:1.999,2.0.1:', type=('build', 'run'), when='@2.26.0: +diagnostics') # Requirements for dask.delayed - depends_on('py-cloudpickle@0.2.1:', type=('build', 'run'), when='@2,7.0: +delayed') - depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'), when='@2.13.0: +delayed') + depends_on('py-cloudpickle@0.2.1:', type=('build', 'run'), when='@2.7.0: +delayed') + # The dependency on py-cloudpickle is non-optional starting version 2021.3.1 + depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +delayed') depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.8.1: +delayed') depends_on('py-toolz@0.7.3:', type=('build', 'run'), when='@0.14.1: +delayed') - depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0: +delayed') + # The dependency on py-toolz is non-optional starting version 2021.3.1 + depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0:2021.3.0 +delayed') # Support for YAML configuration files - depends_on('py-pyyaml', type=('build', 'run'), when='+yaml') + # The dependency on py-pyyaml is non-optional starting version 2.17.1 + depends_on('py-pyyaml', type=('build', 'run'), when='@0.18.0:2.17.0 +yaml') @property def import_modules(self): diff --git a/var/spack/repos/builtin/packages/py-distributed/package.py b/var/spack/repos/builtin/packages/py-distributed/package.py index d70656dd42..aec2bd4583 100644 --- a/var/spack/repos/builtin/packages/py-distributed/package.py +++ b/var/spack/repos/builtin/packages/py-distributed/package.py @@ -22,6 +22,7 @@ class PyDistributed(PythonPackage): 'distributed.http.worker', 'distributed.diagnostics' ] + version('2021.6.2', sha256='d7d112a86ab049dcefa3b21fd1baea4212a2c03d22c24bd55ad38d21a7f5d148') version('2020.12.0', sha256='2a0b6acc921cd4e0143a7c4383cdcbed7defbc4bd9dc3aab0c7f1c45f14f80e1') version('2.10.0', sha256='2f8cca741a20f776929cbad3545f2df64cf60207fb21f774ef24aad6f6589e8b') version('1.28.1', sha256='3bd83f8b7eb5938af5f2be91ccff8984630713f36f8f66097e531a63f141c48a') |