rattler-build icon indicating copy to clipboard operation
rattler-build copied to clipboard

Better error message when parsing invalid variant_config

Open nichmor opened this issue 1 year ago • 0 comments

Having this variant config:

python:
  - "3.11.* *cpython"
  # - "3.12.* *cpython"
  # - "3.9.* *cpython"


cxx_compiler:
  - if win:
    then: vs2019

I will receive following error message:


rattler-build build -r mamba -m mamba/variant_config.yaml

 ╭─ Finding outputs from recipe
 │
 ╰─────────────────── (took 0 seconds)
Error:   × Failed to parse recipe

I think it's better to point where variant_config is wrong

nichmor avatar Jul 08 '24 07:07 nichmor