Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions .github/workflows/conda-package-cf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ jobs:
- python: "3.10"
numpy: "2.2"
- python: "3.11"
numpy: "2.3"
numpy: "2.4"
- python: "3.12"
numpy: "2.3"
numpy: "2.5"
- python: "3.13"
numpy: "2.3"
numpy: "2.5"
- python: "3.14"
numpy: "2.3"
numpy: "2.5"
python_spec: "3.14.* *_cp314"
python_tag: "3.14"
- python: "3.14"
numpy: "2.3"
numpy: "2.5"
python_spec: "3.14.* *_cp314t"
python_tag: "3.14t"
- python: "3.15"
Expand Down Expand Up @@ -96,6 +96,7 @@ jobs:

conda build \
"${TEST[@]}" \
--error-overlinking \
"${VERSIONS[@]}" \
"${CHANNELS[@]}" \
conda-recipe-cf
Expand Down Expand Up @@ -222,17 +223,17 @@ jobs:
- python: "3.10"
numpy: "2.2"
- python: "3.11"
numpy: "2.3"
numpy: "2.4"
- python: "3.12"
numpy: "2.3"
numpy: "2.5"
- python: "3.13"
numpy: "2.3"
numpy: "2.5"
- python: "3.14"
numpy: "2.3"
numpy: "2.5"
python_spec: "3.14.* *_cp314"
python_tag: "3.14"
- python: "3.14"
numpy: "2.3"
numpy: "2.5"
python_spec: "3.14.* *_cp314t"
python_tag: "3.14t"
- python: "3.15"
Expand Down Expand Up @@ -286,7 +287,7 @@ jobs:
- name: Build conda package
run: |
conda activate
conda build --no-test --python "${{ matrix.python_spec || matrix.python }}" --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf
conda build --no-test --error-overlinking --python "${{ matrix.python_spec || matrix.python }}" --numpy ${{ matrix.numpy }} -c conda-forge --override-channels conda-recipe-cf

- name: Upload artifact
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
Expand Down
8 changes: 5 additions & 3 deletions conda-recipe-cf/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
numpy:
- '1.26.4'
numpy: # as in conda-forge's global pinning; CI overrides it with --numpy
- '2'
c_compiler: # [linux]
Comment thread
antonwolfy marked this conversation as resolved.
- gcc # [linux]
c_compiler_version: # [linux]
- '15' # [linux]
cxx_compiler: # [linux]
- gxx # [linux]
cxx_compiler_version: # [linux]
- '14' # [linux]
- '15' # [linux]
c_stdlib: # [linux]
- sysroot # [linux]
c_stdlib_version: # [linux]
Expand Down
13 changes: 8 additions & 5 deletions conda-recipe-cf/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ source:

build:
number: {{ buildnumber }}
ignore_run_exports_from:
- {{ compiler('dpcpp') }} # [linux]
ignore_run_exports:
- blas
- numpy
- llvm-openmp
missing_dso_whitelist:
- $RPATH/mkl_umath_loops.dll # [win]

requirements:
build:
Expand All @@ -29,14 +31,15 @@ requirements:
- cython >=3.1.0
- python
- mkl-devel
- intel-cmplr-lib-rt # [not osx]
- numpy
Comment thread
antonwolfy marked this conversation as resolved.
- llvm-openmp
- pip
run:
- python
- {{ pin_compatible('mkl') }}
- {{ pin_compatible('numpy') }}
- {{ pin_compatible('intel-cmplr-lib-rt') }}
# NumPy 1 vs 2 loops are chosen at compile time (USE_NUMPY_2), so a build
# against NumPy 2 must not run on NumPy 1.x; run_exports add the upper bound
- numpy >=2

test:
requires:
Expand Down
Loading