spack/var/spack/repos/builtin/packages/py-configspace/package.py

24 lines
844 B
Python
Raw Normal View History

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>
2021-11-06 23:52:30 +08:00
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyConfigspace(PythonPackage):
"""Creation and manipulation of parameter configuration spaces for
automated algorithm configuration and hyperparameter tuning."""
maintainers = ['Kerilk']
homepage = "https://automl.github.io/ConfigSpace/master/"
pypi = "ConfigSpace/ConfigSpace-0.4.20.tar.gz"
version('0.4.20', sha256='2e4ca06f5a6a61e5322a73dd7545468c79f2a3e8385cab92fdada317af41d9e9')
depends_on('python@3.7:', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-cython', type='build')
depends_on('py-pyparsing', type=('build', 'run'))