Skip to content

Commit

Permalink
Support Numba 0.55 (master branch) (IntelPython#583)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PokhodenkoSA authored and vlad-perevezentsev committed Oct 27, 2021
1 parent 5212992 commit 984a4a6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,14 @@ jobs:
strategy:
matrix:
python: [3.8, 3.9]
numba: [0.54, 0.55]
integration_channels: [""]
experimental: [true] # packages are not available on -c intel yet
artifact_name: [""]
dependencies: [""]
include:
- python: "3.8"
numba: 0.54
integration_channels: -c dppy/label/dev
artifact_name: -c dppy_label_dev
experimental: false # current stable
Expand Down Expand Up @@ -171,7 +173,7 @@ jobs:
- name: Install numba-dppy
run: |
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
conda install $PACKAGE_NAME pytest python=${{ matrix.python }} ${{ matrix.dependencies }} $CHANNELS
conda install $PACKAGE_NAME pytest python=${{ matrix.python }} numba=${{ matrix.numba }} ${{ matrix.dependencies }} $CHANNELS
# Test installed packages
conda list
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ https://intelpython.github.io/dpnp/

## Dependencies

* numba 0.54.*
* numba 0.54.* or 0.55.*
* dpctl 0.10.*
* dpnp 0.8.* (optional)
* llvm-spirv 11.* (SPIRV generation from LLVM IR)
Expand Down
4 changes: 2 additions & 2 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ requirements:
- python
- setuptools
- cython
- numba 0.54*
- numba 0.54*|0.55*
- dpctl >=0.10*
- dpnp >=0.8* # [linux]
- wheel
run:
- python
- numba 0.54*
- numba 0.54*|0.55*
- dpctl >=0.10*
- spirv-tools
- llvm-spirv 11.*
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guides/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Installation

Numba-dppy depends on following components:

* numba 0.54.* (`Numba`_)
* numba 0.54.* or 0.55.* (`Numba`_)
* dpctl 0.9.* (`Intel Python dpctl`_)
* dpnp >=0.6.* (optional, `Intel Python DPNP`_)
* `llvm-spirv`_ (SPIRV generation from LLVM IR)
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- gxx_linux-64
- dpcpp_linux-64
- cython
- numba 0.54*
- numba 0.55*
- dpctl 0.10*
- dpnp 0.8*
- spirv-tools
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def spirv_compile():
packages = find_packages(include=["numba_dppy", "numba_dppy.*"])
build_requires = ["cython"]
install_requires = [
"numba >={},<{}".format("0.54.0", "0.55"),
"numba >={},<{}".format("0.54.0", "0.56"),
"dpctl",
"packaging",
]
Expand Down

0 comments on commit 984a4a6

Please sign in to comment.