Skip to content

Commit c5ef786

Browse files
authored
Support Numba 0.55 (master branch) (#583)
* Allow use numba 0.55 in setup.py * Add numba 0.55 in test matrix * Update conda recipe * Update README and docs * Use numba 0.54 or 0.55 in docs
1 parent d6af202 commit c5ef786

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,14 @@ jobs:
119119
strategy:
120120
matrix:
121121
python: [3.8, 3.9]
122+
numba: [0.54, 0.55]
122123
integration_channels: [""]
123124
experimental: [true] # packages are not available on -c intel yet
124125
artifact_name: [""]
125126
dependencies: [""]
126127
include:
127128
- python: "3.8"
129+
numba: 0.54
128130
integration_channels: -c dppy/label/dev
129131
artifact_name: -c dppy_label_dev
130132
experimental: false # current stable
@@ -171,7 +173,7 @@ jobs:
171173
- name: Install numba-dppy
172174
run: |
173175
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
174-
conda install $PACKAGE_NAME pytest python=${{ matrix.python }} ${{ matrix.dependencies }} $CHANNELS
176+
conda install $PACKAGE_NAME pytest python=${{ matrix.python }} numba=${{ matrix.numba }} ${{ matrix.dependencies }} $CHANNELS
175177
# Test installed packages
176178
conda list
177179
- name: Run tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ https://intelpython.github.io/dpnp/
1818

1919
## Dependencies
2020

21-
* numba 0.54.*
21+
* numba 0.54.* or 0.55.*
2222
* dpctl 0.10.*
2323
* dpnp 0.8.* (optional)
2424
* llvm-spirv 11.* (SPIRV generation from LLVM IR)

conda-recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ requirements:
1818
- python
1919
- setuptools
2020
- cython
21-
- numba 0.54*
21+
- numba 0.54*|0.55*
2222
- dpctl >=0.10*
2323
- dpnp >=0.8* # [linux]
2424
- wheel
2525
run:
2626
- python
27-
- numba 0.54*
27+
- numba 0.54*|0.55*
2828
- dpctl >=0.10*
2929
- spirv-tools
3030
- llvm-spirv 11.*

docs/user_guides/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Installation
66

77
Numba-dppy depends on following components:
88

9-
* numba 0.54.* (`Numba`_)
9+
* numba 0.54.* or 0.55.* (`Numba`_)
1010
* dpctl 0.9.* (`Intel Python dpctl`_)
1111
* dpnp >=0.6.* (optional, `Intel Python DPNP`_)
1212
* `llvm-spirv`_ (SPIRV generation from LLVM IR)

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- gxx_linux-64
1212
- dpcpp_linux-64
1313
- cython
14-
- numba 0.54*
14+
- numba 0.55*
1515
- dpctl 0.10*
1616
- dpnp 0.8*
1717
- spirv-tools

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def spirv_compile():
135135
packages = find_packages(include=["numba_dppy", "numba_dppy.*"])
136136
build_requires = ["cython"]
137137
install_requires = [
138-
"numba >={},<{}".format("0.54.0", "0.55"),
138+
"numba >={},<{}".format("0.54.0", "0.56"),
139139
"dpctl",
140140
"packaging",
141141
]

0 commit comments

Comments
 (0)