Repository navigation
Align conda-recipe-cf and its CI with the conda-forge feedstock #287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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: | ||
|
|
@@ -29,14 +31,15 @@ requirements: | |
| - cython >=3.1.0 | ||
| - python | ||
| - mkl-devel | ||
| - intel-cmplr-lib-rt # [not osx] | ||
| - numpy | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With pin_compatible gone, the numpy run dep now comes from numpy's run_exports, so the 3.12+ builds against 2.5 accept
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch, the low end turned out to be broken, not just untested. |
||
| - 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: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: since the matrix always passes
--numpy, dropping the 1.26.4 pin is fine for CI. But a plain localconda build conda-recipe-cfnow falls back to conda-build's built-in numpy default (1.26), which gives a numpy-1-only package and isn't what the feedstock does. Could we putnumpy: ['2']here, matching conda-forge's global pinning? I believe the--numpyflag in CI would still take precedence.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, done in 1111c31, same as conda-forge's global pinning. Checked with
conda render: without--numpy, py3.12 now builds against 2.5 instead of 1.26.4, py3.13 resolves at all, and--numpy 2.4still takes precedence.