Skip to content

Linter/CI does not flag incorrect tests.python.python_version for noarch packages in v1 recipe.yaml #34374

Description

@p-vdp

Bug:

@conda-forge/staged-recipes According to the docs this is the correct way for noarch builds in v1 recipes:

tests:
  - python:
      python_version:
        - ${{ python_min }}.*
        - "*"

https://conda-forge.org/docs/how-to/basics/noarch/#expressing-python-version-requirements

However CI checks pass if the "*" is missing, so reviewers have to be on the lookout for it and make fiddly fixes like: #34369 (comment)

This should be checked by the linter, seems like.

Currently grayskull pypi --strict-conda-forge --use-v1-format generates the recipe.yaml incorrectly for noarch builds (missing "*"). I'll open an issue over there, too.

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