Package missing dist-info metadata

Bug #1883989 reported by Dan Keenan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyside2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04 focal, libpyside2-py3-5.14@5.14.0-1~exp1ubuntu5 (and all other related packages)

No part of this package installs any sort of metadata (e.g. dist-info). Because of this, dependency revolvers (e.g. pip, setuptools) think it is not installed and try to fetch it from PyPI.

Using the version from PyPI is not ideal, see https://bugreports.qt.io/browse/PYSIDE-1195 for an illustration why. That example is from KDE Neon, however I can confirm the same behavior with Kubuntu.

I've manually added a "PySide2-5.14.0.dist-info" directory in /usr/lib/python3/dist-packages/ as a *very* ugly workaround that is certain to break if the package is updated. This terrible kludge solves the problem for me (pip list begins to show "PySide2 5.14.0" and python3 setup.py develop no longer insists on downloading from PyPI). I'm not very knowledgeable about Debian packaging, but I'm certain there's a way to solve this problem when building the package.

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.