invalid metadata error w/wheel system package

Bug #2058500 reported by Jason Kane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wheel (Ubuntu)
New
Undecided
Unassigned

Bug Description

This seems to be cosmetic; arguably a pip problem but it would likely be much easier to fix in wheel packaging. sid has a 0.43, maybe upgrade and it goes away?

#14 9.722 WARNING: Skipping /usr/lib/python3.12/dist-packages/wheel-0.42.0.dist-info due to invalid metadata entry 'name'

For example:

$ pip install --break-system-packages django
WARNING: Skipping /usr/lib/python3.12/dist-packages/wheel-0.42.0.dist-info due to invalid metadata entry 'name'
Collecting django
  Downloading Django-5.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting asgiref<4,>=3.7.0 (from django)
  Downloading asgiref-3.8.0-py3-none-any.whl.metadata (9.3 kB)
Collecting sqlparse>=0.3.1 (from django)
  Downloading sqlparse-0.4.4-py3-none-any.whl.metadata (4.0 kB)
Downloading Django-5.0.3-py3-none-any.whl (8.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 MB 12.3 MB/s eta 0:00:00
Downloading asgiref-3.8.0-py3-none-any.whl (23 kB)
Downloading sqlparse-0.4.4-py3-none-any.whl (41 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.2/41.2 kB 737.4 kB/s eta 0:00:00
WARNING: Skipping /usr/lib/python3.12/dist-packages/wheel-0.42.0.dist-info due to invalid metadata entry 'name'
Installing collected packages: sqlparse, asgiref, django
Successfully installed asgiref-3.8.0 django-5.0.3 sqlparse-0.4.4
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu Noble Numbat (development branch)"

$ apt show python3-wheel
Package: python3-wheel
Version: 0.42.0-1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.