Skip to content

Commit 9971ab5

Browse files
committed
ENH: split CI per Python via variant.use_keys on noarch cuda-python output
The CFEP-25 noarch:python recipe references only ${{ python_min }}, so rattler-build does not include `python` in that output's variant. Combined with the non-noarch `cuda-bindings` output (which does use `python`), conda-smithy's _collapse_subpackage_variants takes the intersection of used loop vars across outputs, drops `python`, and collapses all Python variants into a single .ci_support file per platform — serializing what used to be 6 parallel CI jobs. Adding `build.variant.use_keys: [python]` to the noarch output forces `python` back into its variant, restoring the per-Python matrix. The redundant identical noarch builds dedupe on upload via hash collision. Mirrors the same pattern used in conda-forge/root-feedstock for its noarch:generic root_cxx_standard output.
1 parent 3006937 commit 9971ab5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

recipe/recipe.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ outputs:
3131
number: ${{ number }}
3232
# skip: not linux64
3333
noarch: python
34+
variant:
35+
# Ensures conda-smithy splits CI jobs per Python version. Without
36+
# this, the noarch output drops `python` from the intersection of
37+
# used loop vars (since CFEP-25 uses `python_min`), collapsing all
38+
# Python variants into a single serialized job. The redundant noarch
39+
# builds dedupe on upload via hash collision.
40+
use_keys:
41+
- python
3442
script:
3543
env:
3644
SUBDIR: ${{ subdir }}

0 commit comments

Comments
 (0)