-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Soften "selectors in noarch" lint for some cases #1887
Comments
Another case that could benefit from softening are recipes using multiple If some of the outputs involve C/C++ and some involve It would be nice in this case to do something like...
|
@jakirkham I maintain a multi-output recipe which has both cxx and python noarch outputs. I have not seen this linting message. Is it because I use the noarch label per-output instead of in the top-level? |
Yeah the top-level |
Softening this requirement would also help with providing |
In conda-forge/backports.strenum-feedstock#4, at commit conda-forge/backports.strenum-feedstock@68ddfe0, the linter was complaining about selectors. These selectors were using
conda_build_config.yaml
variables that indeed were available.I'm assuming the general "selectors & noarch are a no-go" is meant to prevent OS-specific selectors only, so in this cases it should be ok to allow it.
I also understand is tricky to tokenize an arbitrary Python expression and that the new recipe format won't have this issue, and in the meantime we can do it in Jinja. So low-prio for me, but I thought I would raise the issue just in case there's an obvious solution.
The text was updated successfully, but these errors were encountered: