Open beckermr opened 5 months ago
The correct placement would be
outputs:
- name: blah
build:
run_exports:
- blah
Both are fine, except when you have
outputs:
- name: blah
run_exports:
- blah
build:
some_other_option: value
Right. My proposal is to require only stuff under build in conda-forge to make things simpler and less error prone. We could lint exactly for the bug if we want OFC.
Both are fine, except when you have [...]
What's the benefit of allowing the build:
-less way, except saving some characters? I don't think that's worth the footgun that comes along with it.
I mean, if we can lint the specific case that breaks, all the better, but I'd be equally happy to just require a build:
section.
What's the benefit of allowing the build:-less way, except saving some characters? I don't think that's worth the footgun that comes along with it.
You'll shoot yourself in the foot if you only move run_exports
to build
and the other values are not moved to the build
section.
In some cases, run_exports outside of build sections are ignored in multioutput recipes. This syntax
is the main issue.
See this PR https://github.com/conda-forge/ctng-compiler-activation-feedstock/pull/103.
We should lint for this syntax and make sure recipes do not use it.