Skip to content

Commit 91ca2fa

Browse files
Build steps in conda-package workflow to use NumPy 2.0 for both Linux and Windows
1 parent 52edb6d commit 91ca2fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
python: ['3.9', '3.10', '3.11']
25+
python: ['3.9', '3.10', '3.11', '3.12']
2626
steps:
2727
- uses: actions/[email protected]
2828
with:
@@ -54,7 +54,7 @@ jobs:
5454
run: |
5555
# use bootstrap channel to pull NumPy linked with OpenBLAS
5656
CHANNELS="-c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels"
57-
VERSIONS="--python ${{ matrix.python }} --numpy 1.23"
57+
VERSIONS="--python ${{ matrix.python }} --numpy 2.0"
5858
TEST="--no-test"
5959
conda build \
6060
$TEST \
@@ -77,7 +77,7 @@ jobs:
7777

7878
strategy:
7979
matrix:
80-
python: ['3.9', '3.10', '3.11']
80+
python: ['3.9', '3.10', '3.11', '3.12']
8181
env:
8282
conda-bld: C:\Miniconda\conda-bld\win-64\
8383
steps:
@@ -109,7 +109,7 @@ jobs:
109109
- name: Build conda package
110110
env:
111111
OVERRIDE_INTEL_IPO: 1 # IPO requires more resources that GH actions VM provides
112-
run: conda build --no-test --python ${{ matrix.python }} -c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
112+
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 -c dppy/label/bootstrap -c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels conda-recipe
113113
- name: Upload artifact
114114
uses: actions/[email protected]
115115
with:

0 commit comments

Comments
 (0)