-
-
Notifications
You must be signed in to change notification settings - Fork 184
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
Linux-only feedstock gets macOS lint #2159
Comments
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: conda-smithy/conda_smithy/linter/lints.py Lines 840 to 885 in b3ad532
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: conda-forge/nccl-feedstock#120 (comment)
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: