Skip to content

Commit

Permalink
Merge pull request #1760 from IntelPython/build-with-numpy-2.0
Browse files Browse the repository at this point in the history
Build with numpy 2.0
  • Loading branch information
oleksandr-pavlyk authored Aug 16, 2024
2 parents 9ef5e9d + 318d55c commit 972fdb6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Build conda package
run: |
# use bootstrap channel to pull NumPy linked with OpenBLAS
CHANNELS="-c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels"
VERSIONS="--python ${{ matrix.python }} --numpy 1.23"
CHANNELS="-c conda-forge --override-channels"
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
TEST="--no-test"
conda build \
$TEST \
Expand All @@ -77,7 +77,7 @@ jobs:

strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
env:
conda-bld: C:\Miniconda\conda-bld\win-64\
steps:
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Build conda package
env:
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
run: conda build --no-test --python ${{ matrix.python }} -c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c conda-forge --override-channels conda-recipe
- name: Upload artifact
uses: actions/[email protected]
with:
Expand All @@ -127,7 +127,7 @@ jobs:

strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
experimental: [false]
runner: [ubuntu-22.04]
continue-on-error: ${{ matrix.experimental }}
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
shell: cmd /C CALL {0}
strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
experimental: [false]
runner: [windows-2019]
continue-on-error: ${{ matrix.experimental }}
Expand Down Expand Up @@ -350,7 +350,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Download conda artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Download artifact
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
python: ['3.10']
python: ['3.11']
experimental: [false]
runner: [ubuntu-22.04]
continue-on-error: ${{ matrix.experimental }}
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ requirements:
- python
- {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }}
- {{ pin_compatible('intel-cmplr-lib-rt', min_pin='x.x', max_pin='x') }}
- {{ pin_compatible('numpy', min_pin='x.x', max_pin='x') }}
- numpy
- {{ pin_compatible('level-zero', min_pin='x.x', max_pin='x') }} # [linux]

test:
Expand Down

0 comments on commit 972fdb6

Please sign in to comment.