Skip to content

Bot inspection/hint fails with darwin #5881

@thewchan

Description

@thewchan

See logs here (https://github.com/regro/cf-scripts/actions/runs/24009043188/job/70017475438 for the package whenever):

2026-04-05T19:56:23.6817589Z Error:   × Failed to render recipe with variants
2026-04-05T19:56:23.6818346Z   ╰─▶ Jinja template error: Undefined variable(s) in condition 'not darwin and
2026-04-05T19:56:23.6818982Z       not linux': 'darwin'
2026-04-05T19:56:23.6819444Z     ╭─[/tmp/.tmpapCeOF/recipe.yaml:29:11]
2026-04-05T19:56:23.6819948Z  28 │       then: tzdata >=2020.1
2026-04-05T19:56:23.6822577Z  29 │     - if: not darwin and not linux
2026-04-05T19:56:23.6823090Z     ·           ─┬─
2026-04-05T19:56:23.6823708Z     ·            ╰── Undefined variable(s) in condition 'not darwin and not linux': 'darwin'
2026-04-05T19:56:23.6824353Z  30 │       then: tzlocal >=4.0
2026-04-05T19:56:23.6824705Z     ╰────
2026-04-05T19:56:23.6824844Z 
2026-04-05T19:56:23.6824849Z 
2026-04-05T19:56:23.6842515Z 2026-04-05 19:56:23,683 CRITICAL conda_forge_tick.migrators.version || Error doing bot dep inspection/updates!
2026-04-05T19:56:23.6843533Z Traceback (most recent call last):
2026-04-05T19:56:23.6844403Z   File "/opt/autotick-bot/conda_forge_tick/migrators/version.py", line 454, in _hint_and_maybe_update_deps
2026-04-05T19:56:23.6844894Z     _, hint = get_dep_updates_and_hints(
2026-04-05T19:56:23.6845302Z               ^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6845722Z   File "/opt/autotick-bot/conda_forge_tick/update_deps.py", line 258, in get_dep_updates_and_hints
2026-04-05T19:56:23.6846546Z     dep_comparison, _ = get_grayskull_comparison(
2026-04-05T19:56:23.6846902Z                         ^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6847572Z   File "/opt/autotick-bot/conda_forge_tick/update_deps.py", line 522, in get_grayskull_comparison
2026-04-05T19:56:23.6848010Z     new_attrs = load_feedstock(
2026-04-05T19:56:23.6848217Z                 ^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6848573Z   File "/opt/autotick-bot/conda_forge_tick/feedstock_parser.py", line 827, in load_feedstock
2026-04-05T19:56:23.6848978Z     return load_feedstock_local(
2026-04-05T19:56:23.6849195Z            ^^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6849588Z   File "/opt/autotick-bot/conda_forge_tick/feedstock_parser.py", line 693, in load_feedstock_local
2026-04-05T19:56:23.6850032Z     return populate_feedstock_attributes(
2026-04-05T19:56:23.6850282Z            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6850716Z   File "/opt/autotick-bot/conda_forge_tick/feedstock_parser.py", line 387, in populate_feedstock_attributes
2026-04-05T19:56:23.6851158Z     parse_recipe_yaml(
2026-04-05T19:56:23.6851489Z   File "/opt/autotick-bot/conda_forge_tick/utils.py", line 269, in parse_recipe_yaml
2026-04-05T19:56:23.6851874Z     return parse_recipe_yaml_local(
2026-04-05T19:56:23.6852099Z            ^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6852453Z   File "/opt/autotick-bot/conda_forge_tick/utils.py", line 441, in parse_recipe_yaml_local
2026-04-05T19:56:23.6852860Z     rendered_recipes = _render_recipe_yaml(
2026-04-05T19:56:23.6853113Z                        ^^^^^^^^^^^^^^^^^^^^
2026-04-05T19:56:23.6853473Z   File "/opt/autotick-bot/conda_forge_tick/utils.py", line 544, in _render_recipe_yaml
2026-04-05T19:56:23.6853852Z     res.check_returncode()
2026-04-05T19:56:23.6854231Z   File "/opt/conda/envs/cf-scripts/lib/python3.12/subprocess.py", line 502, in check_returncode
2026-04-05T19:56:23.6854738Z     raise CalledProcessError(self.returncode, self.args, self.stdout,
2026-04-05T19:56:23.6855709Z subprocess.CalledProcessError: Command '['rattler-build', 'build', '--render-only', '--variant-config', '/tmp/tmpxl7o9vy2/whenever-feedstock-main/.ci_support/linux_64_python3.10.____cpython.yaml']' returned non-zero exit status 1.

Seems like it's not able to recognize darwin for OSX?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions