diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-11-24 08:40:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-24 08:40:29 +0100 |
commit | a7e57c9a14ce36d6a3b03d7cd3b3357754b89019 (patch) | |
tree | 769e94eac195c429be791c03ee81191cc954ae30 | |
parent | 85d83f9c26cea76051cf95bc7194c43bfa0a0b5a (diff) | |
download | spack-a7e57c9a14ce36d6a3b03d7cd3b3357754b89019.tar.gz spack-a7e57c9a14ce36d6a3b03d7cd3b3357754b89019.tar.bz2 spack-a7e57c9a14ce36d6a3b03d7cd3b3357754b89019.tar.xz spack-a7e57c9a14ce36d6a3b03d7cd3b3357754b89019.zip |
py-opt-einsum: add v3.4.0 (#47759)
-rw-r--r-- | var/spack/repos/builtin/packages/py-jaxlib/package.py | 10 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-opt-einsum/package.py | 17 |
2 files changed, 19 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-jaxlib/package.py b/var/spack/repos/builtin/packages/py-jaxlib/package.py index 3ba330388e..8d894c6c5e 100644 --- a/var/spack/repos/builtin/packages/py-jaxlib/package.py +++ b/var/spack/repos/builtin/packages/py-jaxlib/package.py @@ -99,11 +99,13 @@ class PyJaxlib(PythonPackage, CudaPackage, ROCmPackage): depends_on("py-build", when="@0.4.14:") with default_args(type=("build", "run")): + depends_on("python@3.10:", when="@0.4.31:") + depends_on("python@3.9:", when="@0.4.14:") + depends_on("python@3.8:", when="@0.4.6:") # Based on PyPI wheels - depends_on("python@3.10:3.12", when="@0.4.31:") - depends_on("python@3.9:3.12", when="@0.4.17:0.4.30") - depends_on("python@3.9:3.11", when="@0.4.14:0.4.16") - depends_on("python@3.8:3.11", when="@0.4.6:0.4.13") + depends_on("python@:3.13") + depends_on("python@:3.12", when="@:0.4.33") + depends_on("python@:3.11", when="@:0.4.16") # jaxlib/setup.py depends_on("py-scipy@1.10:", when="@0.4.31:") diff --git a/var/spack/repos/builtin/packages/py-opt-einsum/package.py b/var/spack/repos/builtin/packages/py-opt-einsum/package.py index 90246f40a3..ff61076570 100644 --- a/var/spack/repos/builtin/packages/py-opt-einsum/package.py +++ b/var/spack/repos/builtin/packages/py-opt-einsum/package.py @@ -14,12 +14,21 @@ class PyOptEinsum(PythonPackage): license("MIT") + version("3.4.0", sha256="96ca72f1b886d148241348783498194c577fa30a8faac108586b14f1ba4473ac") version("3.3.0", sha256="59f6475f77bbc37dcf7cd748519c0ec60722e91e63ca114e68821c0c54a46549") version("3.2.1", sha256="83b76a98d18ae6a5cc7a0d88955a7f74881f0e567a0f4c949d24c942753eb998") version("3.2.0", sha256="738b0a1db1d3084d360081bb64d826f9db06d2df7cc0bf8e2c9356028da1fa31") version("3.1.0", sha256="edfada4b1d0b3b782ace8bc14e80618ff629abf53143e1e6bbf9bd00b11ece77") - # https://github.com/dgasmith/opt_einsum/commit/7c8f193f90b6771a6b3065bb5cf6ec2747af8209 - depends_on("python@:3.11", when="@:3.3", type=("build", "run")) - depends_on("py-setuptools", type="build") - depends_on("py-numpy@1.7:", type=("build", "run")) + with default_args(type=("build", "run")): + depends_on("python@3.8:", when="@3.4:") + # https://github.com/dgasmith/opt_einsum/commit/7c8f193f90b6771a6b3065bb5cf6ec2747af8209 + depends_on("python@:3.11", when="@:3.3") + + depends_on("py-numpy@1.7:", when="@:3.3") + + depends_on("py-setuptools", when="@:3.3", type="build") + + depends_on("py-hatchling", when="@3.4:", type="build") + depends_on("py-hatch-fancy-pypi-readme@22.5:", when="@3.4:", type="build") + depends_on("py-hatch-vcs", when="@3.4:", type="build") |