[Python-modules-team] Bug#890200: PyQt5 package should provide an egg-info

VA bugs at indigo.re
Sun Feb 11 20:19:59 UTC 2018


Package: python-pyqt5
Version: 5.9.2+dfsg-1

Many Debian python packages include an egg-info folder, but python-pyqt5 
does not.

For example, when python-requests is installed with apt:

% dpkg -L python-requests | grep egg-info
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info/not-zip-safe
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info/requires.txt
/usr/lib/python2.7/dist-packages/requests-2.18.4.egg-info/top_level.txt
% dpkg -L python-pyqt5 | grep egg-info
%

When installing a pip package which requires a python dependency that is 
already installed with Debian packages, pip finds it and uses the 
Debian-installed package.
Since python-pyqt5 does not provide any, pip fails to find 'PyQt5' 
locally and so programs may fail to run even though PyQt5 is installed.



More information about the Python-modules-team mailing list