Open jakirkham opened 4 days ago
The processing of CBC doesn't know that a feedstock is linux-only. It already needs to juggle some selectors to find the right subset per platform. I'm doubtful that it's worth adding extra logic to determine whether we're on a skipped platform, when the solution is very simply to add a selector:
c_stdlib_version: # [linux]
- "2.28" # [linux]
This is the logic in case you want to wade into this fray: https://github.com/conda-forge/conda-smithy/blob/b3ad5324106e792995b42aed09c268ec10eb1c53/conda_smithy/linter/lints.py#L840-L885
Linux-only recipes are pretty rare nowadays. I don't think it's an undue burden to add the selector (though I agree it'd be nice if the logic were smart enough to ignore skipped platforms; but it's already fragile enough that I don't want to add yet another layer of complexity for such a minimal gain).
Solution to issue cannot be found in the documentation.
Issue
The linter has flagged a macOS error. Normally this would be reasonable to raise. However this is a Linux only feedstock
The lint is included below. Also here is a reference to the original comment: https://github.com/conda-forge/nccl-feedstock/pull/120#issuecomment-2492404613
Installed packages
Environment info