Skip to content

False positive: Invalid noarch value ${{ "python" if use_noarch }} in v1 recipe #2425

@beenje

Description

@beenje

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

I used noarch: ${{ "python" if use_noarch }} in conda-forge/coverage-feedstock#154

Allowing empty value for noarch is a feature that was added in rattler-build 0.50.0: prefix-dev/rattler-build#1973

The linter currently complains with: Invalid noarch value ${{ "python" if use_noarch }}. Should be one of python, generic.. It should allow conditional with empty values.

Installed packages

NA

Environment info

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions