Skip to content

Commit 005a423

Browse files
authored
Bump NumPy version per NEP-0029 (#1710)
* Bump NumPy version per NEP-0029 * Specify numpy version in conda_build_config.yaml * Pass numpy as an argument of conda-build command
1 parent 4f4db77 commit 005a423

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
118118
119119
- name: Build conda package
120-
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
120+
run: conda build --no-test --python ${{ matrix.python }} --numpy 1.23 ${{ env.CHANNELS }} conda-recipe
121121

122122
- name: Upload artifact
123123
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1

conda-recipe/conda_build_config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
numpy:
2+
- 1.23

conda-recipe/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ requirements:
1313
host:
1414
- python
1515
- setuptools
16-
- numpy >=1.19,<1.27a0
16+
- numpy <1.27a0
1717
- cython
1818
- cmake >=3.21
1919
- ninja

0 commit comments

Comments
 (0)