Skip to content

Add repodata support for filenames in the wheel format #190

@danyeaw

Description

@danyeaw

What is the idea?

Add support for solvers getting filenames in the {distribution}-{version}-py3-none-any.whl format that pure-Python wheels come in and successfully get the package name and version.

Why is this needed?

Currently rattler and libmamba-solver support conda filenames in the format of {name}-{version}-{build_string}.tar.bz2. As we add wheel filenames to repodata so that users can conda install <wheel>, they won't be in the format that the solver expects and the solver will fail to parse them.

What should happen?

Update rattler_repodata_gateway to accept {distribution}-{version}-py3-none-any.whl filenames and properly get the name and version information. In order to standardize this, a CEP will also probably be required.

Additional Context

A future issue will need to track implementing this in libmamba-solver as well.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done 💪🏾

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions