-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNT: rerender #275
base: main
Are you sure you want to change the base?
MNT: rerender #275
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12344540534. Examine the logs at this URL for more detail. |
The current recipe is not viewed as being valid (fom CI logs): Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/linter/lints.py", line 1026, in lint_recipe_is_parsable
CondaMetaYAML(recipe_text)
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/recipe_parser/_parser.py", line 579, in __init__
v, e = _parse_jinja2_variables(meta_yaml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_forge_tick/recipe_parser/_parser.py", line 114, in _parse_jinja2_variables
and _line_is_only_selector(all_nodes[i + 1].nodes[0].data.strip())
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'If' object has no attribute 'nodes'
2024-12-16 02:04:47,748 WARNING conda_smithy.linter.lints || Error parsing recipe with conda-recipe-manager: ParserError('while parsing a flow mapping', <yaml._yaml.Mark object at 0x7f898b9a8f90>, "did not find expected ',' or '}'", <yaml._yaml.Mark object at 0x7f898b9a8fe0>)
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_recipe_manager/parser/recipe_reader.py", line 109, in _parse_yaml
output = _sub_jinja(cast(JsonType, yaml.load(s, Loader=SafeLoader)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File "yaml/_yaml.pyx", line 673, in yaml._yaml.CParser.get_single_node
File "yaml/_yaml.pyx", line 687, in yaml._yaml.CParser._compose_document
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 845, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 844, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 847, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 860, in yaml._yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a flow mapping
in "<unicode string>", line 1, column 11
did not find expected ',' or '}'
in "<unicode string>", line 1, column 92
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_smithy/linter/lints.py", line 1069, in lint_recipe_is_parsable
RecipeParser(recipe_text)
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_recipe_manager/parser/recipe_reader.py", line 435, in __init__
new_node = RecipeReader._parse_line_node(clean_line)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_recipe_manager/parser/recipe_reader.py", line 142, in _parse_line_node
output = RecipeReader._parse_yaml(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/conda_recipe_manager/parser/recipe_reader.py", line 126, in _parse_yaml
cast(JsonType, yaml.load(s, Loader=SafeLoader)), lambda d: substitute_markers(d, sub_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/yaml/__init__.py", line 81, in load
return loader.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-feedstock-ops/lib/python3.11/site-packages/yaml/constructor.py", line 49, in get_single_data
node = self.get_single_node()
^^^^^^^^^^^^^^^^^^^^^^
File "yaml/_yaml.pyx", line 673, in yaml._yaml.CParser.get_single_node
File "yaml/_yaml.pyx", line 687, in yaml._yaml.CParser._compose_document
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 845, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 844, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 731, in yaml._yaml.CParser._compose_node
File "yaml/_yaml.pyx", line 847, in yaml._yaml.CParser._compose_mapping_node
File "yaml/_yaml.pyx", line 860, in yaml._yaml.CParser._parse_next_event
yaml.parser.ParserError: while parsing a flow mapping
in "<unicode string>", line 1, column 11
did not find expected ',' or '}'
in "<unicode string>", line 1, column 92 |
Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #274.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.
Fixes #274