You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think the OrderedDict at the top is valid yaml?
If I try and use this recipe I get
boa build test --output-folder /tmp/boa:
❯ boa build test --output-folder /tmp/boa
_
| |__ ___ __ _
| '_ \ / _ \ / _` |
| |_) | (_) | (_| |
|_.__/ \___/ \__,_|
Loading config files:
Updating build index: /tmp/boa
Traceback (most recent call last):
File "/Users/ray/miniforge3/envs/main/bin/boa", line 10, in <module>
sys.exit(main())
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/boa/cli/boa.py", line 244, in main
run_build(args)
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/boa/core/run_build.py", line 502, in run_build
all_recipes = find_all_recipes(args.target, config, is_pyproject_recipe) # [noqa]
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/boa/core/run_build.py", line 53, in find_all_recipes
yml = render(fn, config=config, is_pyproject_recipe=is_pyproject_recipe)
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/boa/core/render.py", line 184, in render
ydoc = loader.load(fi)
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/ruamel/yaml/main.py", line 426, in load
return constructor.get_single_data()
File "/Users/ray/miniforge3/envs/main/lib/python3.10/site-packages/ruamel/yaml/constructor.py", line 111, in get_single_data
node = self.composer.get_single_node()
File "_ruamel_yaml.pyx", line 706, in _ruamel_yaml.CParser.get_single_node
File "_ruamel_yaml.pyx", line 724, in _ruamel_yaml.CParser._compose_document
File "_ruamel_yaml.pyx", line 775, in _ruamel_yaml.CParser._compose_node
File "_ruamel_yaml.pyx", line 891, in _ruamel_yaml.CParser._compose_mapping_node
File "_ruamel_yaml.pyx", line 904, in _ruamel_yaml.CParser._parse_next_event
ruamel.yaml.parser.ParserError: while parsing a block mapping
in "test/recipe.yaml", line 1, column 1
did not find expected key
in "test/recipe.yaml", line 1, column 41
The text was updated successfully, but these errors were encountered:
Thanks for the offer. I kept it simple and just did boa-base-recipe and boa-recipe. One is no deps and the other is full deps and I didn't do pinning of subpackages
I'm guess outputs may be the issues and i'm not sure what the desired recipe.yaml would look like if someone converts it by hand.
Take the rich meta.yaml (https://github.com/conda-forge/rich-feedstock/blob/main/recipe/meta.yaml)
if you run
boa convert meta.yaml -> recipe.yaml
it outputsI don't think the
OrderedDict
at the top is valid yaml?If I try and use this recipe I get
boa build test --output-folder /tmp/boa
:The text was updated successfully, but these errors were encountered: