diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 18c323433a6..74b609d077c 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -117,7 +117,7 @@ jobs: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}- - name: Build conda package - run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe + run: conda build --no-test --python ${{ matrix.python }} --numpy 1.23 ${{ env.CHANNELS }} conda-recipe - name: Upload artifact uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml new file mode 100644 index 00000000000..0f1e1f9078f --- /dev/null +++ b/conda-recipe/conda_build_config.yaml @@ -0,0 +1,2 @@ +numpy: + - 1.23 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 7c9a10c4ff7..ad7e7dce987 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -13,7 +13,7 @@ requirements: host: - python - setuptools - - numpy >=1.19,<1.27a0 + - numpy <1.27a0 - cython - cmake >=3.21 - ninja