Skip to content

Commit 2c966e8

Browse files
authored
update recipe to use numpy-base (#73)
* update recipe to use numpy-base * correct channel order * specify numpy version for each python version
1 parent a88f334 commit 2c966e8

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

.github/workflows/conda-package.yml

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: conda install conda-build
4747
- name: Build conda package
4848
run: |
49-
CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels"
49+
CHANNELS="-c https://software.repos.intel.com/python/conda -c conda-forge --override-channels"
5050
VERSIONS="--python ${{ matrix.python }}"
5151
TEST="--no-test"
5252
@@ -104,17 +104,20 @@ jobs:
104104

105105
test_linux:
106106
needs: build_linux
107-
runs-on: ${{ matrix.runner }}
108-
107+
runs-on: ubuntu-latest
109108
strategy:
110109
matrix:
111-
python: ["3.9", "3.10", "3.11", "3.12"]
112-
numpy: ['1.26*']
113-
experimental: [false]
114-
runner: [ubuntu-latest]
115-
continue-on-error: ${{ matrix.experimental }}
110+
include:
111+
- python: '3.9'
112+
numpy: '1.26'
113+
- python: '3.10'
114+
numpy: '2.2'
115+
- python: '3.11'
116+
numpy: '2.2'
117+
- python: '3.12'
118+
numpy: '2.2'
116119
env:
117-
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels
120+
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
118121

119122
steps:
120123
- name: Download artifact
@@ -172,17 +175,21 @@ jobs:
172175
173176
test_windows:
174177
needs: build_windows
175-
runs-on: ${{ matrix.runner }}
178+
runs-on: windows-latest
176179

177180
strategy:
178181
matrix:
179-
python: ["3.9", "3.10", "3.11", "3.12"]
180-
numpy: ['1.26*']
181-
experimental: [false]
182-
runner: [windows-latest]
183-
continue-on-error: ${{ matrix.experimental }}
182+
include:
183+
- python: '3.9'
184+
numpy: '1.26'
185+
- python: '3.10'
186+
numpy: '2.2'
187+
- python: '3.11'
188+
numpy: '2.2'
189+
- python: '3.12'
190+
numpy: '2.2'
184191
env:
185-
CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels
192+
CHANNELS: -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels
186193

187194
steps:
188195
- name: Download artifact

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ requirements:
2727
run:
2828
- python
2929
- {{ pin_compatible('mkl', min_pin="x.x", max_pin="x") }}
30-
- {{ pin_compatible('numpy', min_pin="x.x", max_pin="x") }}
30+
- {{ pin_compatible('numpy-base', min_pin="x.x", max_pin="x") }}
3131

3232
test:
3333
commands:

0 commit comments

Comments
 (0)