rattler-build build
panics when test.python.python_version
match spec is invalid
#1493
Labels
rattler-build build
panics when test.python.python_version
match spec is invalid
#1493
What happened?
While trying to build a rattler-build recipe, I received the following error:
This was due to an invalid match spec in the testing section of my recipe. Here's what that looked like:
The
python_version
section was generating an invalid match spec.How to recreate
First, create this recipe (
recipe.yaml
):Then try to build it:
It should spit out the panic error.
What should be done?
I think it would be nice to trigger a better looking error than just having the program panic. Maybe something that could try to hint at which line of the
recipe.yaml
that should be changed?The text was updated successfully, but these errors were encountered: