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
- We found a problem parsing the recipe for version '1.6.0':
DuplicateKeyError('while constructing a mapping', in "", line 25, column 3:
home: https://github.com/akamai/cli
^ (line: 25), 'found duplicate key "home" with value "https://github.com/akamai/cli" (original value: "https://github.com/akamai/cli")', in "", line 31, column 3:
home: https://github.com/akamai/cli
^ (line: 31), '\n To suppress this check see:\n http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys\n ', ' Duplicate keys will become an error in future releases, and are errors\n by default when using the new API.\n ')
traceback:
File "/opt/autotick-bot/conda_forge_tick/update_recipe/version.py", line 540, in update_version
cmeta = CondaMetaYAML(raw_meta_yaml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/autotick-bot/conda_forge_tick/recipe_parser/_parser.py", line 525, in __init__
self.meta = self._parser.load("".join(lines))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/main.py", line 451, in load
return constructor.get_single_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 116, in get_single_data
return self.construct_document(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 125, in construct_document
for _dummy in generator:
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 1476, in construct_yaml_map
self.construct_mapping(node, data, deep=True)
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 1365, in construct_mapping
value = self.construct_object(value_node, deep=deep)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 147, in construct_object
data = self.construct_non_recursive_object(node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 188, in construct_non_recursive_object
for _dummy in generator:
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 1476, in construct_yaml_map
self.construct_mapping(node, data, deep=True)
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 1366, in construct_mapping
if self.check_mapping_key(node, key_node, maptyp, key, value):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/ruamel/yaml/constructor.py", line 278, in check_mapping_key
raise DuplicateKeyError(*args)
Solution to issue cannot be found in the documentation.
Issue
Consider the following recipe:
https://github.com/conda-forge/akamai-feedstock/blob/57bc61b3793785eac37aedf0035ac5b557917253/recipe/meta.yaml#L24-L31
It has a duplicate
about.home
key. Smithy does not seem to report that:However, it seems to break auto-tick bot (e.g. in https://github.com/regro/cf-scripts/actions/runs/11536519761):
Installed packages
Environment info
The text was updated successfully, but these errors were encountered: