Public bug reported:

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.

** Affects: pyside2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883989

Title:
  Package missing dist-info metadata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyside2/+bug/1883989/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to