Open MrMino opened 3 years ago
WheelFile._distinfo_path uses packaging.utils.canonicalize_name, which it shouldn't: it lower-cases the name in the .dist-info prefix, which makes the wheel unrecognizable to wheel unpack and pip:
WheelFile._distinfo_path
packaging.utils.canonicalize_name
.dist-info
wheel unpack
pip
Missing Django-3.2.5+myversion.dist-info/RECORD file
Found out during working on the snippet in #9.
Actually, the way WheelFile does it right now is the spec-correct way. See https://discuss.python.org/t/clarify-naming-of-dist-info-directories/5565.
WheelFile
Reported in pypa/wheel#411
WheelFile._distinfo_path
usespackaging.utils.canonicalize_name
, which it shouldn't: it lower-cases the name in the.dist-info
prefix, which makes the wheel unrecognizable towheel unpack
andpip
:Missing Django-3.2.5+myversion.dist-info/RECORD file
Found out during working on the snippet in #9.