summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Miller <rgmiller@ornl.gov>2018-11-13 00:07:40 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2018-11-12 23:07:40 -0600
commit7c267e8534709d4246742dab90abf1e8da6403ee (patch)
tree3062f156fc4016f857d2cb68e849465b984c0c70
parent87df41e0ca89f72e92fb340c0698854985916b3d (diff)
downloadspack-7c267e8534709d4246742dab90abf1e8da6403ee.tar.gz
spack-7c267e8534709d4246742dab90abf1e8da6403ee.tar.bz2
spack-7c267e8534709d4246742dab90abf1e8da6403ee.tar.xz
spack-7c267e8534709d4246742dab90abf1e8da6403ee.zip
py-numba: update dependencies and versions (#9706)
The latest version of py-numba (0.40.1) wants a newer version of py-llvmlite. Had to add that version to py-llvmlite/package.py.
-rw-r--r--var/spack/repos/builtin/packages/py-llvmlite/package.py1
-rw-r--r--var/spack/repos/builtin/packages/py-numba/package.py18
2 files changed, 15 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/py-llvmlite/package.py b/var/spack/repos/builtin/packages/py-llvmlite/package.py
index 9a597f7a29..71f3622466 100644
--- a/var/spack/repos/builtin/packages/py-llvmlite/package.py
+++ b/var/spack/repos/builtin/packages/py-llvmlite/package.py
@@ -12,6 +12,7 @@ class PyLlvmlite(PythonPackage):
homepage = "http://llvmlite.readthedocs.io/en/latest/index.html"
url = "https://pypi.io/packages/source/l/llvmlite/llvmlite-0.23.0.tar.gz"
+ version('0.25.0', sha256='fd64def9a51dd7dc61913a7a08eeba5b9785522740bec5a7c5995b2a90525025')
version('0.23.0', '6fc856576a11dbeef71de862f7c419de')
version('0.20.0', 'f2aa60d0981842b7930ba001b03679ab')
diff --git a/var/spack/repos/builtin/packages/py-numba/package.py b/var/spack/repos/builtin/packages/py-numba/package.py
index 550ac571a8..87825c0dd6 100644
--- a/var/spack/repos/builtin/packages/py-numba/package.py
+++ b/var/spack/repos/builtin/packages/py-numba/package.py
@@ -12,12 +12,22 @@ class PyNumba(PythonPackage):
homepage = "https://numba.pydata.org/"
url = "https://pypi.io/packages/source/n/numba/numba-0.35.0.tar.gz"
+ version('0.40.1', sha256='52d046c13bcf0de79dbfb936874b7228f141b9b8e3447cc35855e9ad3e12aa33')
version('0.35.0', '4f447383406f54aaf18ffaba3a0e79e8')
- depends_on('py-numpy@1.10:', type=('build', 'run'))
- depends_on('py-llvmlite@0.20:', type=('build', 'run'))
- depends_on('py-argparse', type=('build', 'run'))
- depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.3.99')
+ depends_on('python@3.3:3.7.9999', type=('build', 'run'), when='@0.40.1:')
+ depends_on('python@3.3:3.6.9999', type=('build', 'run'), when='@:0.35.0')
+ depends_on('py-numpy@1.10:1.99', type=('build', 'run'))
+
+ # Note: As of 1 Nov 2018, 0.25 was the latest version of py-llvmlite.
+ # That's why it was chosen as an upper bound in the following depends_on
+ # calls. If newer versions maintain backwards compatibility, the calls
+ # can be updated accordingly.
+ depends_on('py-llvmlite@0.25', type=('build', 'run'), when='@0.40.1:')
+ depends_on('py-llvmlite@0.20:0.25', type=('build', 'run'), when='@0.35.1')
+
+ depends_on('py-argparse', type=('build', 'run'))
+ depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.3.99')
depends_on('py-singledispatch', type=('build', 'run'), when='^python@:3.3.99')
# Version 6.0.0 of llvm had a hidden symbol which breaks numba at runtime.