From 39c4af5f79fc66e249ec23033671cd036b0c8382 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Tue, 15 Feb 2022 23:02:29 +0100 Subject: py-numba: add 0.55.1 (#28933) * py-numba: add 0.55.1 * Remove comment * Pin down py-llvmlite version for older py-numba releases * Remove py-llvmlite deps for releases not in spack * Set upper bounds for python and py-numpy * Add stricter upper bound to py-numpy for releases <=0.47 --- .../repos/builtin/packages/py-numba/package.py | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-numba/package.py b/var/spack/repos/builtin/packages/py-numba/package.py index 5dc96a7b78..6af98fe217 100644 --- a/var/spack/repos/builtin/packages/py-numba/package.py +++ b/var/spack/repos/builtin/packages/py-numba/package.py @@ -12,6 +12,7 @@ class PyNumba(PythonPackage): homepage = "https://numba.pydata.org/" pypi = "numba/numba-0.35.0.tar.gz" + version('0.55.1', sha256='03e9069a2666d1c84f93b00dbd716fb8fedde8bb2c6efafa2f04842a46442ea3') version('0.54.0', sha256='bad6bd98ab2e41c34aa9c80b8d9737e07d92a53df4f74d3ada1458b0b516ccff') version('0.51.1', sha256='1e765b1a41535684bf3b0465c1d0a24dcbbff6af325270c8f4dad924c0940160') version('0.50.1', sha256='89e81b51b880f9b18c82b7095beaccc6856fcf84ba29c4f0ced42e4e5748a3a7') @@ -19,25 +20,28 @@ class PyNumba(PythonPackage): version('0.40.1', sha256='52d046c13bcf0de79dbfb936874b7228f141b9b8e3447cc35855e9ad3e12aa33') version('0.35.0', sha256='11564937757605bee590c5758c73cfe9fd6d569726b56d970316a6228971ecc3') - depends_on('python@3.7:3.9', type=('build', 'run'), when='@0.54.0:') - depends_on('python@3.6:', type=('build', 'run'), when='@0.48.0:') + depends_on('python@3.7:3.10', type=('build', 'run'), when='@0.55.0:') + depends_on('python@3.7:3.9', type=('build', 'run'), when='@0.54') + depends_on('python@3.6:3.9', type=('build', 'run'), when='@0.53') + depends_on('python@3.6:3.8', type=('build', 'run'), when='@0.52') + # set upper bound for python the same as newer release + depends_on('python@3.6:3.8', type=('build', 'run'), when='@0.48:0.51') depends_on('python@3.3:3.7', type=('build', 'run'), when='@0.40.1:0.47') depends_on('python@3.3:3.6', type=('build', 'run'), when='@:0.35.0') - depends_on('py-numpy@1.17:1.20', type=('build', 'run'), when='@0.54.0:') - depends_on('py-numpy@1.15:', type=('build', 'run'), when='@0.48.0:') - depends_on('py-numpy@1.10:1', type=('build', 'run')) + depends_on('py-numpy@1.18:1.21', type=('build', 'run'), when='@0.55.0:') + depends_on('py-numpy@1.17:1.20', type=('build', 'run'), when='@0.54') + # set upper bound for py-numpy the same as newer release + depends_on('py-numpy@1.15:1.20', type=('build', 'run'), when='@0.48:0.53') + depends_on('py-numpy@1.10:1.20', type=('build', 'run'), when='@:0.47') depends_on('py-setuptools', 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.37.0:0.37.9', type=('build', 'run'), when='@0.54.0') - depends_on('py-llvmlite@0.34.0:0.34', type=('build', 'run'), when='@0.51.1') - depends_on('py-llvmlite@0.33.0:0.33', type=('build', 'run'), when='@0.50.1') - depends_on('py-llvmlite@0.31.0:0.31', type=('build', 'run'), when='@0.48.0') - depends_on('py-llvmlite@0.25.0:', 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-llvmlite@0.38', type=('build', 'run'), when='@0.55.1') + depends_on('py-llvmlite@0.37', type=('build', 'run'), when='@0.54.0') + depends_on('py-llvmlite@0.34', type=('build', 'run'), when='@0.51.1') + depends_on('py-llvmlite@0.33', type=('build', 'run'), when='@0.50.1') + depends_on('py-llvmlite@0.31', type=('build', 'run'), when='@0.47,0.48') + depends_on('py-llvmlite@0.25', type=('build', 'run'), when='@0.40') + depends_on('py-llvmlite@0.20:0.25', type=('build', 'run'), when='@0.35.1') depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6,3.0:3.1') depends_on('py-funcsigs', type=('build', 'run'), when='@:0.47 ^python@:3.2') -- cgit v1.2.3-70-g09d2