summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-numba/package.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/py-numba/package.py b/var/spack/repos/builtin/packages/py-numba/package.py
index c6c77b5472..c266f53a74 100644
--- a/var/spack/repos/builtin/packages/py-numba/package.py
+++ b/var/spack/repos/builtin/packages/py-numba/package.py
@@ -13,6 +13,7 @@ class PyNumba(PythonPackage):
pypi = "numba/numba-0.35.0.tar.gz"
git = "https://github.com/numba/numba.git"
+ version("0.57.0", sha256="2af6d81067a5bdc13960c6d2519dbabbf4d5d597cf75d640c5aeaefd48c6420a")
version("0.56.4", sha256="32d9fef412c81483d7efe0ceb6cf4d3310fde8b624a9cecca00f790573ac96ee")
version("0.56.0", sha256="87a647dd4b8fce389869ff71f117732de9a519fe07663d9a02d75724eb8e244d")
version("0.55.2", sha256="e428d9e11d9ba592849ccc9f7a009003eb7d30612007e365afe743ce7118c6f4")
@@ -23,22 +24,22 @@ class PyNumba(PythonPackage):
version("0.48.0", sha256="9d21bc77e67006b5723052840c88cc59248e079a907cc68f1a1a264e1eaba017")
version("0.40.1", sha256="52d046c13bcf0de79dbfb936874b7228f141b9b8e3447cc35855e9ad3e12aa33")
- depends_on("python@3.7:3.10", when="@0.55.0:", type=("build", "run"))
+ depends_on("python@3.8:3.11", when="@0.57", type=("build", "run"))
+ depends_on("python@3.7:3.10", when="@0.55:0.56", type=("build", "run"))
depends_on("python@3.7:3.9", when="@0.54", type=("build", "run"))
depends_on("python@3.6:3.9", when="@0.53", type=("build", "run"))
depends_on("python@3.6:3.8", when="@0.52", type=("build", "run"))
- # set upper bound for python the same as newer release
depends_on("python@3.6:3.8", when="@0.48:0.51", type=("build", "run"))
depends_on("python@3.3:3.7", when="@0.40.1:0.47", type=("build", "run"))
- depends_on("py-numpy@1.18:1.23", when="@0.56.1:", type=("build", "run"))
+ depends_on("py-numpy@1.21:1.24", when="@0.57:", type=("build", "run"))
+ depends_on("py-numpy@1.18:1.23", when="@0.56.1:0.56.4", type=("build", "run"))
depends_on("py-numpy@1.18:1.22", when="@0.55.2:0.56.0", type=("build", "run"))
depends_on("py-numpy@1.18:1.21", when="@0.55.0:0.55.1", type=("build", "run"))
depends_on("py-numpy@1.17:1.20", when="@0.54", type=("build", "run"))
- # set upper bound for py-numpy the same as newer release
depends_on("py-numpy@1.15:1.20", when="@0.48:0.53", type=("build", "run"))
depends_on("py-numpy@1.10:1.20", when="@:0.47", type=("build", "run"))
depends_on("py-setuptools", type=("build", "run"))
-
+ depends_on("py-llvmlite@0.40", when="@0.57", type=("build", "run"))
depends_on("py-llvmlite@0.39", when="@0.56", type=("build", "run"))
depends_on("py-llvmlite@0.38", when="@0.55", type=("build", "run"))
depends_on("py-llvmlite@0.37", when="@0.54.0", type=("build", "run"))
@@ -47,6 +48,7 @@ class PyNumba(PythonPackage):
depends_on("py-llvmlite@0.31", when="@0.47,0.48", type=("build", "run"))
depends_on("py-llvmlite@0.25", when="@0.40", type=("build", "run"))
depends_on("py-llvmlite@0.20:0.25", when="@0.35.1", type=("build", "run"))
+ depends_on("py-importlib-metadata", when="@0.56:^python@:3.8", type=("build", "run"))
# Version 6.0.0 of llvm had a hidden symbol which breaks numba at runtime.
# See https://reviews.llvm.org/D44140