diff --git a/conda_forge_tick/auto_tick.py b/conda_forge_tick/auto_tick.py index 350c0ea4e..8a1145d03 100644 --- a/conda_forge_tick/auto_tick.py +++ b/conda_forge_tick/auto_tick.py @@ -13,6 +13,7 @@ import typing import tqdm from subprocess import CalledProcessError +from textwrap import dedent from typing import ( Optional, MutableSequence, @@ -363,11 +364,20 @@ def run( verbosity=2, ) if not solvable: - _solver_err_str = "not solvable ({}): {}: {}".format( - ('bot CI job'), - base_branch, - sorted(set(errors)), - ) + ci_url = os.getenv("CIRCLE_BUILD_URL") + ci_url = f"(bot CI job)" if ci_url else "" + _solver_err_str = dedent( + f""" + not solvable {ci_url} @ {base_branch} + + + + {''.join(sorted(set(errors)))} + + + + """, + ).strip() if isinstance(migrator, Version): with feedstock_ctx.attrs["version_pr_info"] as vpri:
+ {'
'.join(sorted(set(errors)))} +