summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrice Videau <bvideau@anl.gov>2022-03-30 23:40:54 -0500
committerGitHub <noreply@github.com>2022-03-31 04:40:54 +0000
commit40154d83ae1e476e821f484f5039ab032aaf5252 (patch)
treea545ec9b5d0aa33c4f372b0af355ebafa2da138e
parent5c5da19b0cfdab09b0ba053168b958a20016026a (diff)
downloadspack-40154d83ae1e476e821f484f5039ab032aaf5252.tar.gz
spack-40154d83ae1e476e821f484f5039ab032aaf5252.tar.bz2
spack-40154d83ae1e476e821f484f5039ab032aaf5252.tar.xz
spack-40154d83ae1e476e821f484f5039ab032aaf5252.zip
ytopt: add v0.0.3 (#29655)
Co-authored-by: Jaehoon Koo <jkoo@mcswl052.mcs.anl.gov>
-rw-r--r--var/spack/repos/builtin/packages/py-sdmetrics/package.py32
-rw-r--r--var/spack/repos/builtin/packages/py-sdv/package.py37
-rw-r--r--var/spack/repos/builtin/packages/py-ytopt/package.py7
3 files changed, 75 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-sdmetrics/package.py b/var/spack/repos/builtin/packages/py-sdmetrics/package.py
new file mode 100644
index 0000000000..bcaf0e5cda
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sdmetrics/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2022 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 PySdmetrics(PythonPackage):
+ """The SDMetrics library provides a set of dataset-agnostic
+ tools for evaluating the quality of a synthetic database
+ by comparing it to the real database that it is modeled
+ after."""
+
+ maintainers = ['Kerilk', 'jke513']
+
+ homepage = "https://github.com/sdv-dev/SDMetrics"
+ pypi = "sdmetrics/sdmetrics-0.4.1.tar.gz"
+
+ version('0.4.1', sha256='28df1cdd6988b3464306c1d189da19ee13a49023c53ca8b3db399fc9fd45fae8')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6')
+ depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:')
+ depends_on('py-pandas@1.1.3:1.1.4', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.24:1', type=('build', 'run'))
+ depends_on('py-scipy@1.5.4:1', type=('build', 'run'))
+ depends_on('py-torch@1.8.0:1', type=('build', 'run'))
+ depends_on('py-copulas@0.6.0:0.6', type=('build', 'run'))
+ depends_on('py-rdt@0.6.1:0.6', type=('build', 'run'))
+ depends_on('py-pyts@0.12.0:0.12', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-sdv/package.py b/var/spack/repos/builtin/packages/py-sdv/package.py
new file mode 100644
index 0000000000..16627f219b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sdv/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2022 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 PySdv(PythonPackage):
+ """The Synthetic Data Vault (SDV) is a Synthetic Data
+ Generation ecosystem of libraries that allows users to
+ easily learn single-table, multi-table and timeseries
+ datasets to later on generate new Synthetic Data that
+ has the same format and statistical properties as the
+ original dataset."""
+
+ maintainers = ['Kerilk', 'jke513']
+
+ homepage = "https://github.com/sdv-dev/SDV"
+ pypi = "sdv/sdv-0.13.1.tar.gz"
+
+ version('0.14.0', sha256='a62714b73a7e14b95ffbda0920a3a5a6fe891a17d8611380af5f9ca1ff8fc234')
+ version('0.13.1', sha256='c0a0dbc4a64e5f60cabd123a8c19b3f99594f5a0911de83e08d172b810222c93')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-faker@3.0.0:9', type=('build', 'run'))
+ depends_on('py-graphviz@0.13.2:0', type=('build', 'run'))
+ depends_on('py-numpy@1.18:1.19', type=('build', 'run'), when='^python@3.6')
+ depends_on('py-numpy@1.20:1', type=('build', 'run'), when='^python@3.7:')
+ depends_on('py-pandas@1.1.3:1.1.4', type=('build', 'run'))
+ depends_on('py-tqdm@4.15:4', type=('build', 'run'))
+ depends_on('py-copulas@0.6.0:0.6', type=('build', 'run'))
+ depends_on('py-ctgan@0.5.0:0.5', type=('build', 'run'))
+ depends_on('py-deepecho@0.3.0.post1:0.3', type=('build', 'run'))
+ depends_on('py-rdt@0.6.1:0.6', type=('build', 'run'))
+ depends_on('py-sdmetrics@0.4.1:0.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-ytopt/package.py b/var/spack/repos/builtin/packages/py-ytopt/package.py
index 0c26be289d..52304bc468 100644
--- a/var/spack/repos/builtin/packages/py-ytopt/package.py
+++ b/var/spack/repos/builtin/packages/py-ytopt/package.py
@@ -15,12 +15,16 @@ class PyYtopt(PythonPackage):
homepage = "https://github.com/ytopt-team/ytopt"
url = "https://github.com/ytopt-team/ytopt/archive/refs/tags/v0.0.1.tar.gz"
+ version('0.0.3', sha256='eac6ab87d4fd27517f136880016359c5b24836ec009e8cc9b4073a6c5edb17af')
version('0.0.2', sha256='5a624aa678b976ff6ef867610bafcb0dfd5c8af0d880138ca5d56d3f776e6d71')
version('0.0.1', sha256='3ca616922c8e76e73f695a5ddea5dd91b0103eada726185f008343cc5cbd7744')
+ variant('online', default=False, description='Install requirements for online tuning.', when='@0.0.3:')
+
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-scikit-learn@0.23.1', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.23.1', type=('build', 'run'), when='@:0.0.2')
+ depends_on('py-scikit-learn@1.0.0:', type=('build', 'run'), when='@0.0.3:')
depends_on('py-dh-scikit-optimize', type=('build', 'run'))
depends_on('py-configspace', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
@@ -30,3 +34,4 @@ class PyYtopt(PythonPackage):
depends_on('py-tqdm', type=('build', 'run'))
depends_on('py-ray', type=('build', 'run'))
depends_on('py-mpi4py@3.0.0:', type=('build', 'run'))
+ depends_on('py-sdv@0.13.1:0.13', type=('build', 'run'), when='@0.0.3: +online')