py-melissa-core: add new versions and py-iterative-stats dependency (#38654)
* py-melissa-core: add new versions and py-iterative-stats dependency * Enhance dependency specification * Fix dependency specification * Fix comment alignment * Improve dependency specification style * Enhance dependencies * Fix mpi4py, py-cloudpickle and py-python-hostlist dependencies * Update var/spack/repos/builtin/packages/py-melissa-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-melissa-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-melissa-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Set develop version as preferred * Update var/spack/repos/builtin/packages/py-melissa-core/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Marc Schouler <marc.schouler@inria.fr> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
c0d0603baa
commit
ba936574fc
1 changed files with 13 additions and 4 deletions
|
@ -17,7 +17,9 @@ class PyMelissaCore(PythonPackage):
|
|||
git = "https://gitlab.inria.fr/melissa/melissa.git"
|
||||
maintainers("robcaulk", "mschouler", "raffino")
|
||||
|
||||
version("develop", branch="develop")
|
||||
version("develop", branch="develop", preferred=True)
|
||||
version("joss", tag="JOSS_v2")
|
||||
version("sc23", tag="SC23")
|
||||
|
||||
# define variants for the deep learning server (torch, tf)
|
||||
variant(
|
||||
|
@ -31,17 +33,24 @@ class PyMelissaCore(PythonPackage):
|
|||
depends_on("py-setuptools@46.4:", type=("build"))
|
||||
# requirements.txt (SA)
|
||||
depends_on("py-pyzmq@22.3.0:", type="run")
|
||||
depends_on("py-mpi4py@3.1.3:", type="run")
|
||||
depends_on("py-mpi4py@3.1.3:", when="@develop,joss", type="run")
|
||||
depends_on("py-mpi4py@3.1.3", when="@sc23", type="run")
|
||||
depends_on("py-numpy@1.21:", type="run")
|
||||
depends_on("py-jsonschema@4.5:", type="run")
|
||||
depends_on("py-python-rapidjson@1.8:", type="run")
|
||||
depends_on("py-python-rapidjson@1.8:", when="@develop,joss", type="run")
|
||||
depends_on("py-python-rapidjson@1.9:", when="@sc23", type="run")
|
||||
depends_on("py-scipy@1.10.0:", type="run")
|
||||
depends_on("py-cloudpickle@2.2.0:", type="run")
|
||||
depends_on("py-plotext@5.2.8:", type="run")
|
||||
depends_on("py-cloudpickle@2.2.0:", type="run", when="@develop,joss")
|
||||
depends_on("py-iterative-stats@0.1.0", type="run", when="@develop")
|
||||
depends_on("py-iterative-stats@0.0.4", type="run", when="@joss")
|
||||
# requirements_deep_learning.txt (DL with torch)
|
||||
depends_on("py-tensorboard@2.10.0:", type="run", when="+torch")
|
||||
depends_on("py-matplotlib", type="run", when="+torch")
|
||||
depends_on("py-torch@1.12.1:", type="run", when="+torch")
|
||||
depends_on("py-python-hostlist", type="run", when="@sc23+torch")
|
||||
# requirements_deep_learning.txt (DL with tensorflow)
|
||||
depends_on("py-tensorboard@2.10.0:", type="run", when="+tf")
|
||||
depends_on("py-matplotlib", type="run", when="+tf")
|
||||
depends_on("py-tensorflow@2.8.0:", type="run", when="+tf")
|
||||
conflicts("@sc23", when="+tf", msg="tensorflow is only supported with newer versions")
|
||||
|
|
Loading…
Reference in a new issue