diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-chex/package.py | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/var/spack/repos/builtin/packages/py-chex/package.py b/var/spack/repos/builtin/packages/py-chex/package.py index b2dcfa5ee9..feef3a4a22 100644 --- a/var/spack/repos/builtin/packages/py-chex/package.py +++ b/var/spack/repos/builtin/packages/py-chex/package.py @@ -3,7 +3,6 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) - from spack.package import * @@ -13,26 +12,32 @@ class PyChex(PythonPackage): homepage = "https://github.com/deepmind/chex" pypi = "chex/chex-0.1.0.tar.gz" + maintainers("ChristopherChristofi") + license("Apache-2.0") + version("0.1.86", sha256="e8b0f96330eba4144659e1617c0f7a57b161e8cbb021e55c6d5056c7378091d1") version("0.1.85", sha256="a27cfe87119d6e1fe24ccc1438a59195e6dc1d6e0e10099fcf618c3f64771faf") version("0.1.5", sha256="686858320f8f220c82a6c7eeb54dcdcaa4f3d7f66690dacd13a24baa1ee8299e") version("0.1.0", sha256="9e032058f5fed2fc1d5e9bf8e12ece5910cf6a478c12d402b6d30984695f2161") - depends_on("python@3.9:", type=("build", "run"), when="@0.1.85:") - depends_on("py-setuptools", type="build") - depends_on("py-absl-py@0.9.0:", type=("build", "run")) - depends_on("py-typing-extensions@4.2:", type=("build", "run"), when="@0.1.85:") - depends_on("py-jax@0.4.16:", type=("build", "run"), when="@0.1.85:") - depends_on("py-jax@0.1.55:", type=("build", "run")) - depends_on("py-jaxlib@0.1.37:", type=("build", "run")) - depends_on("py-numpy@1.24.1:", type=("build", "run"), when="@0.1.85:") - depends_on("py-numpy@1.18.0:", type=("build", "run")) - depends_on("py-setuptools", type=("build", "run"), when="@0.1.85: ^python@3.12:") - depends_on("py-toolz@0.9.0:", type=("build", "run")) - - # Historical dependencies - depends_on("py-dm-tree@0.1.5:", type=("build", "run"), when="@:0.1.5") - # AttributeError: module 'jax.interpreters.pxla' has no attribute 'ShardedDeviceArray' conflicts("^py-jax@0.4.14:", when="@:0.1.5") + + depends_on("py-setuptools", type="build") + + with default_args(type=("build", "run")): + depends_on("python@3.9:", when="@0.1.85:") + depends_on("py-absl-py@0.9:") + depends_on("py-dataclasses@0.7:", when="@:0.1.5 ^python@3.6") + depends_on("py-jax@0.4.16:", when="@0.1.85:") + depends_on("py-jax@0.1.55:") + depends_on("py-jaxlib@0.1.37:") + depends_on("py-numpy@1.24.1:", when="@0.1.85:") + depends_on("py-numpy@1.18.0:") + depends_on("py-setuptools", when="@0.1.85: ^python@3.12:") + depends_on("py-toolz@0.9:") + depends_on("py-typing-extensions@4.2:", when="@0.1.85:") + + # Historical dependencies + depends_on("py-dm-tree@0.1.5:", when="@:0.1.5") |