Skip to content

wheel unpack does not accept an archive with normalized .dist-info directory name #411

@MrMino

Description

@MrMino

If a package with capital letters in the name ends up with lower-case .dist-info name, wheel unpack complains:

Missing Django-3.2.5.dist-info/RECORD file

Per the spec, this is the proper naming and it should be accepted.

Repro:

cd /tmp/
pip download --no-deps django==3.2.5
wheel unpack Django-3.2.5-py3-none-any.whl
mv Django-3.2.5/Django-3.2.5.dist-info Django-3.2.5/django-3.2.5.dist-info
wheel pack Django-3.2.5
mv django-3.2.5-py3-none-any.whl Django-3.2.5-py3-none-any.whl
wheel unpack Django-3.2.5-py3-none-any.whl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions