Skip to content
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

BUG fix json error again #26

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions version_pr_info/f/9/1/b/f/torchvision.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"0.10.0": "We found a problem parsing the recipe for version '0.10.0': \n\nParserError('while parsing a block mapping', in \"<unicode string>\", line 28, column 7:\n string__###conda-selector###__cu ... \n ^ (line: 28), \"expected <block end>, but found '<scalar>'\", in \"<unicode string>\", line 29, column 125:\n ... cuda_compiler_version|replace(\".\", \"\") }}h<{ PKG_HASH }}_<{ num ... \n ^ (line: 29))\n\ntraceback:\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/migrators/version.py\", line 502, in migrate\n cmeta = CondaMetaYAML(fp.read())\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 455, in __init__\n self.meta = self._parser.load(\"\".join(lines))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/main.py\", line 434, in load\n return constructor.get_single_data()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/constructor.py\", line 120, in get_single_data\n node = self.composer.get_single_node()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 76, in get_single_node\n document = self.compose_document()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 99, in compose_document\n node = self.compose_node(None, None)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 141, in compose_node\n node = self.compose_sequence_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 185, in compose_sequence_node\n node.value.append(self.compose_node(node, index))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 216, in compose_mapping_node\n while not self.parser.check_event(MappingEndEvent):\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 146, in check_event\n self.current_event = self.state()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 611, in parse_block_mapping_key\n raise ParserError(\n",
"0.12.0": "We found a problem parsing the recipe for version '0.12.0': \n\nAssertionError('\\n')\n\ntraceback:\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/migrators/version.py\", line 509, in migrate\n cmeta = CondaMetaYAML(fp.read())\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 476, in __init__\n v, e = _parse_jinja2_variables(meta_yaml)\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 117, in _parse_jinja2_variables\n assert False, jinja2_data\n",
"0.9.0": "We found a problem parsing the recipe for version '0.9.0': \n\nParserError('while parsing a block mapping', <ruamel.yaml.error.StringMark object at 0x7fa0c5f97c10>, \"expected <block end>, but found '<scalar>'\", <ruamel.yaml.error.StringMark object at 0x7fa0c5c1e270>)\n\ntraceback:\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/migrators/version.py\", line 472, in migrate\n cmeta = CondaMetaYAML(fp.read())\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 455, in __init__\n self.meta = self._parser.load(\"\".join(lines))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/main.py\", line 343, in load\n return constructor.get_single_data()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/constructor.py\", line 111, in get_single_data\n node = self.composer.get_single_node()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 78, in get_single_node\n document = self.compose_document()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 101, in compose_document\n node = self.compose_node(None, None)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 138, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 218, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 136, in compose_node\n node = self.compose_sequence_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 180, in compose_sequence_node\n node.value.append(self.compose_node(node, index))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 138, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 218, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 138, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/composer.py\", line 211, in compose_mapping_node\n while not self.parser.check_event(MappingEndEvent):\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/parser.py\", line 140, in check_event\n self.current_event = self.state()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.8/site-packages/ruamel/yaml/parser.py\", line 585, in parse_block_mapping_key\n raise ParserError(\n",
"0.9.1": "We found a problem parsing the recipe for version '0.9.1': \n\nParserError('while parsing a block mapping', in \"<unicode string>\", line 28, column 7:\n string__###conda-selector###__cu ... \n ^ (line: 28), \"expected <block end>, but found '<scalar>'\", in \"<unicode string>\", line 29, column 125:\n ... cuda_compiler_version|replace(\".\", \"\") }}h<{ PKG_HASH }}_<{ num ... \n ^ (line: 29))\n\ntraceback:\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/migrators/version.py\", line 472, in migrate\n cmeta = CondaMetaYAML(fp.read())\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 455, in __init__\n self.meta = self._parser.load(\"\".join(lines))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/main.py\", line 434, in load\n return constructor.get_single_data()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/constructor.py\", line 120, in get_single_data\n node = self.composer.get_single_node()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 76, in get_single_node\n document = self.compose_document()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 99, in compose_document\n node = self.compose_node(None, None)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 141, in compose_node\n node = self.compose_sequence_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 185, in compose_sequence_node\n node.value.append(self.compose_node(node, index))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 216, in compose_mapping_node\n while not self.parser.check_event(MappingEndEvent):\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 146, in check_event\n self.current_event = self.state()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 611, in parse_block_mapping_key\n raise ParserError(\n",
"5009": "bot error (<a href=\"https://github.com/regro/cf-scripts/actions/runs/9440171613\">bot CI job</a>): main: Traceback (most recent call last):\n File \"/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py\", line 572, in _run_migrator_on_feedstock_branch\n migrator_uid, pr_json = run(\n ^^^^\n File \"/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py\", line 216, in run\n migration_run_data = run_migration(\n ^^^^^^^^^^^^^^\n File \"/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/migration_runner.py\", line 63, in run_migration\n return run_migration_containerized(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/migration_runner.py\", line 157, in run_migration_containerized\n data = run_container_task(\n ^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/utils.py\", line 249, in run_container_task\n raise RuntimeError(\nRuntimeError: Error running migrate-feedstock in container - error VersionMigrationError(\"The recipe did not change in the version migration, a URL did not hash, or there is jinja2 syntax the bot cannot handle!\\n\\nPlease check the URLs in your recipe with version '5009' to make sure they exist!\\n\\nWe also found the following errors:\\n\\n - could not hash URL template 'https://github.com/pytorch/vision/archive/refs/tags/v{{ version }}.tar.gz'\\n\") raised:\ncmd: ['docker',\n 'run',\n '-e',\n 'CF_TICK_IN_CONTAINER=true',\n '--security-opt=no-new-privileges',\n '--read-only',\n '--cap-drop=all',\n '--mount',\n 'type=tmpfs,destination=/tmp,tmpfs-mode=1777,tmpfs-size=6000000000',\n '-m',\n '6000m',\n '--cpus',\n '1',\n '--ulimit',\n 'nofile=1024:1024',\n '--ulimit',\n 'nproc=2048:2048',\n '--rm',\n '-i',\n '--mount',\n 'type=bind,source=/tmp/tmpzvxfunll,destination=/cf_tick_dir',\n 'ghcr.io/regro/conda-forge-tick:master',\n '/opt/conda/envs/cf-scripts/bin/python',\n '-u',\n '/opt/autotick-bot/docker/run_bot_task.py',\n 'migrate-feedstock',\n '--feedstock-name',\n 'torchvision',\n '--default-branch',\n 'main',\n '--existing-feedstock-node-attrs',\n '-',\n '--kwargs',\n '{\\n \"hash_type\": \"sha256\"\\n}',\n '--log-level',\n 'info']\nstdout: {'data': None,\n 'default_branch': 'main',\n 'error': 'VersionMigrationError(\"The recipe did not change in the version '\n 'migration, a URL did not hash, or there is jinja2 syntax the bot '\n 'cannot handle!\\\\n\\\\nPlease check the URLs in your recipe with '\n \"version '5009' to make sure they exist!\\\\n\\\\nWe also found the \"\n 'following errors:\\\\n\\\\n - could not hash URL template '\n \"'https://github.com/pytorch/vision/archive/refs/tags/v{{ version \"\n '}}.tar.gz\\'\\\\n\")',\n 'feedstock_name': 'torchvision',\n 'input_kwargs': '{\\n \"hash_type\": \"sha256\"\\n}',\n 'traceback': 'Traceback (most recent call last):\\n'\n ' File \"/opt/autotick-bot/docker/run_bot_task.py\", line 120, in '\n '_run_bot_task\\n'\n ' data = func(attrs=attrs, **kwargs)\\n'\n ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^\\n'\n ' File \"/opt/autotick-bot/docker/run_bot_task.py\", line 308, in '\n '_migrate_feedstock\\n'\n ' data = run_migration_local(\\n'\n ' ^^^^^^^^^^^^^^^^^^^^\\n'\n ' File '\n '\"/opt/autotick-bot/conda_forge_tick/migration_runner.py\", line '\n '241, in run_migration_local\\n'\n ' data[\"migrate_return_value\"] = migrator.migrate(\\n'\n ' ^^^^^^^^^^^^^^^^^\\n'\n ' File '\n '\"/opt/autotick-bot/conda_forge_tick/migrators/version.py\", line '\n '215, in migrate\\n'\n ' raise VersionMigrationError(\\n'\n 'conda_forge_tick.migrators.version.VersionMigrationError: The '\n 'recipe did not change in the version migration, a URL did not '\n 'hash, or there is jinja2 syntax the bot cannot handle!\\n'\n '\\n'\n \"Please check the URLs in your recipe with version '5009' to \"\n 'make sure they exist!\\n'\n '\\n'\n 'We also found the following errors:\\n'\n '\\n'\n ' - could not hash URL template '\n \"'https://github.com/pytorch/vision/archive/refs/tags/v{{ \"\n \"version }}.tar.gz'\\n\"\n '\\n'}\n"
"0.9.1": "We found a problem parsing the recipe for version '0.9.1': \n\nParserError('while parsing a block mapping', in \"<unicode string>\", line 28, column 7:\n string__###conda-selector###__cu ... \n ^ (line: 28), \"expected <block end>, but found '<scalar>'\", in \"<unicode string>\", line 29, column 125:\n ... cuda_compiler_version|replace(\".\", \"\") }}h<{ PKG_HASH }}_<{ num ... \n ^ (line: 29))\n\ntraceback:\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/migrators/version.py\", line 472, in migrate\n cmeta = CondaMetaYAML(fp.read())\n File \"/home/runner/work/autotick-bot/autotick-bot/cf-scripts/conda_forge_tick/recipe_parser/_parser.py\", line 455, in __init__\n self.meta = self._parser.load(\"\".join(lines))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/main.py\", line 434, in load\n return constructor.get_single_data()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/constructor.py\", line 120, in get_single_data\n node = self.composer.get_single_node()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 76, in get_single_node\n document = self.compose_document()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 99, in compose_document\n node = self.compose_node(None, None)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 141, in compose_node\n node = self.compose_sequence_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 185, in compose_sequence_node\n node.value.append(self.compose_node(node, index))\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 223, in compose_mapping_node\n item_value = self.compose_node(node, item_key)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 143, in compose_node\n node = self.compose_mapping_node(anchor)\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/composer.py\", line 216, in compose_mapping_node\n while not self.parser.check_event(MappingEndEvent):\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 146, in check_event\n self.current_event = self.state()\n File \"/usr/share/miniconda/envs/run_env/lib/python3.9/site-packages/ruamel/yaml/parser.py\", line 611, in parse_block_mapping_key\n raise ParserError(\n"
}
}
}
Loading