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