Skip to content

Modify record validation for wheel filename format #117

@danyeaw

Description

@danyeaw

What is the idea?

Patch conda's record validation to skip filename validation that expects conda's name-version-build format, since wheel files follow a different naming convention.

Why is this needed?

Conda's record validation expects package filenames to follow the conda naming convention (name-version-build.tar.bz2), but wheel files use a different format (name-version-py3-none-any.whl). This validation would reject wheel-based packages.

What should happen?

The patch should modify conda's record validation functions to recognize wheel filename patterns and either skip validation for them or apply wheel-specific validation rules that are appropriate for the wheel naming convention.

Additional Context

A demo of this logic is in https://github.com/Anaconda/conda-whl-support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions