Overly permissive check for mercurial in meta.yaml files #3256
Labels
locked
[bot] locked due to inactivity
stale::closed
[bot] closed after being marked as stale
stale
[bot] marked as stale due to inactivity
This seems to be related to #1488. It turns out that if
hg_
(in any case) is present in ameta.yaml
file that conda build will assume that mercurial is being used. That's normally not an issue, but when things like linting are being done (at least on bioconda withbioconda-utils lint
) we then receive the following error:The cause of that appears to be https://github.com/conda/conda-build/blob/master/conda_build/metadata.py#L1575 , where the whole file is checked for a simple regex (presumably only the
source
section should be checked).It's quite simple for me to check for and remove
hg_
in the bioconda skeleton code to avoid this, but I figured this should be pointed out so others running into the aforementioned error can find the cause easily.Below is a meta.yaml file that will reproduce this issue (I think the summary is the issue):
Xref: bioconda/bioconda-utils#353
The text was updated successfully, but these errors were encountered: