summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml1
-rw-r--r--var/spack/repos/builtin/packages/py-deephyper/package.py16
2 files changed, 14 insertions, 3 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
index 9bb5b728da..c2580dac34 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
@@ -209,6 +209,7 @@ spack:
- py-seaborn
- py-tensorflow
- py-torch
+ - py-deephyper
# # CUDA NOARCH
# - bricks +cuda
diff --git a/var/spack/repos/builtin/packages/py-deephyper/package.py b/var/spack/repos/builtin/packages/py-deephyper/package.py
index 2bde1cff74..80b67dfb91 100644
--- a/var/spack/repos/builtin/packages/py-deephyper/package.py
+++ b/var/spack/repos/builtin/packages/py-deephyper/package.py
@@ -20,22 +20,32 @@ class PyDeephyper(PythonPackage):
license("BSD-3-Clause")
version("master", branch="master")
+ version("0.6.0", sha256="cda2dd7c74bdca4203d9cd637c4f441595f77bae6d77ef8e4a056b005357de34")
version("0.4.2", sha256="ee1811a22b08eff3c9098f63fbbb37f7c8703e2f878f2bdf2ec35a978512867f")
depends_on("python@3.7:3.9", type=("build", "run"))
+ depends_on("python@3.7:3.11", type=("build", "run"), when="@0.6.0")
+ depends_on("py-setuptools@42:", type="build", when="@0.6.0")
depends_on("py-setuptools@40:49.1", type="build")
depends_on("py-wheel@0.36.2", type="build")
- depends_on("py-cython@0.29.24:2", type="build")
+ depends_on("py-cython@0.29.24:", type="build", when="@0.6.0")
+ depends_on("py-cython@0.29.24:2", type="build", when="@0.4.2")
depends_on("py-configspace@0.4.20:", type=("build", "run"))
depends_on("py-dm-tree", type=("build", "run"))
- depends_on("py-jinja2@:3.0", type=("build", "run"))
+ depends_on("py-jinja2@:3.1", type=("build", "run"), when="@0.6.0")
+ depends_on("py-jinja2@:3.0", type=("build", "run"), when="@0.4.2")
+ depends_on("py-numpy@1.20:", type=("build", "run"), when="@0.6.0")
depends_on("py-numpy", type=("build", "run"))
depends_on("py-pandas@0.24.2:", type=("build", "run"))
depends_on("py-packaging", type=("build", "run"))
+ depends_on(
+ "py-packaging@20.5:", type=("build", "run"), when="@0.6.0 target=aarch64: platform=darwin"
+ )
depends_on("py-scikit-learn@0.23.1:", type=("build", "run"))
+ depends_on("py-scipy@1.7:", type=("build", "run"), when="@0.6.0")
depends_on("py-scipy@0.19.1:", type=("build", "run"))
depends_on("py-tqdm@4.64.0:", type=("build", "run"))
depends_on("py-pyyaml", type=("build", "run"))
- depends_on("py-tinydb", type=("build", "run"))
+ depends_on("py-tinydb", type=("build", "run"), when="@0.4.2")