bioconda / bioconda-utils

Utilities for building and managing bioconda recipes
MIT License
96 stars 133 forks source link

ERROR: recipes/vcboost/meta.yaml:0: linter_failure: An unexpected exception was raised during linting #960

Open oranges7 opened 6 months ago

oranges7 commented 6 months ago

Hi, File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/parser.py", line 804, in move_token_comment token.move_old_comment(self.scanner.peek_token() if nt is None else nt, empty=empty) File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 1743, in peek_token self._gather_comments() File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 1770, in _gather_comments self.fetch_more_tokens() File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 276, in fetch_more_tokens return self.fetch_value() File "/opt/mambaforge/envs/bioconda/lib/python3.8/site-packages/ruamel/yaml/scanner.py", line 626, in fetch_value raise ScannerError( ruamel.yaml.scanner.ScannerError: mapping values are not allowed here in "", line 2, column 8: package: ^ (line: 2) But my code is as follows {% set version = "1.0.0" %}

package: name: vcboost version: {{ version }}

source: ... 屏幕截图 2024-02-29 101110