diff options
author | Brice Videau <bvideau@anl.gov> | 2021-11-06 10:52:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 10:52:30 -0500 |
commit | f02dec2bbbda08d974fecf6c46657ced4e517692 (patch) | |
tree | 7e4aedfbdf560a55d3eddbdef3a6b90541d21cbe /var/spack/repos/builtin/packages/py-ytopt/package.py | |
parent | 285548588f533338cc5493a7ba492f107e714794 (diff) | |
download | spack-f02dec2bbbda08d974fecf6c46657ced4e517692.tar.gz spack-f02dec2bbbda08d974fecf6c46657ced4e517692.tar.bz2 spack-f02dec2bbbda08d974fecf6c46657ced4e517692.tar.xz spack-f02dec2bbbda08d974fecf6c46657ced4e517692.zip |
Update py-ytopt package and add necessary dependencies (#26879)
* Add spack package py-ytopt-team-ytopt and required dependencies.
* Removed old ytop package.
* Added author as maintainer.
* Fix style.
* Update var/spack/repos/builtin/packages/py-config-space/package.py
Update python dependency to 3.7
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-config-space/package.py
Remove run dependency from py-cython.
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Update var/spack/repos/builtin/packages/py-config-space/package.py
Added run dependency type for py-pyparsing.
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Updated description of py-dh-scikit-optimize.
* Source py-dh-scikit-optimize from PyPI.
* Added latest py-dh-scikit-optimize version.
* Made plots option False by default for py-dh-scikit-optimize.
* Removed 0.9.4 as it needs additional dependencies.
* Added version dependencies.
* Added missing py-joblib dependencies.
* Added run dependency type.
* Added python 2.7+ as supported for py-pyaml.
* Change py-config-space to py-configspace.
* Added dependency on python 3.6+.
* Fix py-configspace package naming.
* Changed py-autotune to py-ytopt-autotune.
* Update var/spack/repos/builtin/packages/py-pyaml/package.py
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
* Added debug variant with py-ray dependency.
* Added missing py-mpi4py missing dependency.
* Removed erroneous variant.
* Added debug variant to py-ray.
* Fix indentation.
* Removed debug variant of py-ray.
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var/spack/repos/builtin/packages/py-ytopt/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-ytopt/package.py | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-ytopt/package.py b/var/spack/repos/builtin/packages/py-ytopt/package.py index f5e33b8f18..85d260d35e 100644 --- a/var/spack/repos/builtin/packages/py-ytopt/package.py +++ b/var/spack/repos/builtin/packages/py-ytopt/package.py @@ -10,14 +10,22 @@ class PyYtopt(PythonPackage): """Ytopt package implements search using Random Forest (SuRF), an autotuning search method developed within Y-Tune ECP project.""" - homepage = "https://xgitlab.cels.anl.gov/pbalapra/ytopt" - url = "https://xgitlab.cels.anl.gov/pbalapra/ytopt/raw/release/dist/ytopt-0.1.0.tar.gz" + maintainers = ['Kerilk'] - version('0.1.0', sha256='c7081fe3585a5b7a25bcb84733cd2326b72de3bfc4f84d6ad110341f24c3e612') + homepage = "https://github.com/ytopt-team/ytopt" + url = "https://github.com/ytopt-team/ytopt/archive/refs/tags/v0.0.1.tar.gz" - depends_on('py-scikit-learn', type=('build', 'run')) - depends_on('py-scikit-optimize', type=('build', 'run')) + version('0.0.2', sha256='5a624aa678b976ff6ef867610bafcb0dfd5c8af0d880138ca5d56d3f776e6d71') + version('0.0.1', sha256='3ca616922c8e76e73f695a5ddea5dd91b0103eada726185f008343cc5cbd7744') - def build_args(self, spec, prefix): - args = [] - return args + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-scikit-learn@0.23.1', type=('build', 'run')) + depends_on('py-dh-scikit-optimize', type=('build', 'run')) + depends_on('py-configspace', type=('build', 'run')) + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-ytopt-autotune@1.1:', type=('build', 'run')) + depends_on('py-joblib', type=('build', 'run')) + depends_on('py-deap', type=('build', 'run')) + depends_on('py-tqdm', type=('build', 'run')) + depends_on('py-ray', type=('build', 'run')) + depends_on('py-mpi4py@3.0.0:', type=('build', 'run')) |