FS#58887 - [python-pyqt5] PKG-INFO and etc. missing

Attached to Project: Community Packages
Opened by Bumsik Kim (kbumsik) - Tuesday, 05 June 2018, 19:43 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 05 June 2018, 20:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I believe this also applies to python2-pyqt5.

Python package metadata (.egg-info files) of python-pyqt5 is missing. This means that the Python package system does not know if PyQt5 package is installed or not, e.g. "pip freeze" command does not tell there is PyQt5 package in the system.

As a result, some programs which depend python-pyqt5 would crash on boot complaining that the requirement of PyQt5 does not meet.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 05 June 2018, 20:37 GMT
Reason for closing:  Upstream
Comment by Eli Schwartz (eschwartz) - Tuesday, 05 June 2018, 20:37 GMT
PyQt has never provided those files, and does not use distutils or setuptools or indeed any aspect of the python packaging ecosystem.

It uses qmake to compile some shared libraries that happen to be linked to libpython3*.so and be installed to the PYTHONPATH, which is not the same thing at all.

If you want PyQt to install metadata that is relevant to the Python Packaging Authority and the ecosystem that conforms to PyPA standards... you'll need to discuss this with the PyQt developers:
https://riverbankcomputing.com/software/pyqt/intro
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

Loading...