maintainer-feedback requested: [Bug 258563] devel/py-qt5: missing egg-info, invisible to pip
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 17 23:03:56 BST 2021
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 258563: devel/py-qt5: missing egg-info, invisible to pip
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258563
--- Description ---
Unlike other python packages, the py38-qt5 package (and possibly the whole
devel/py-qt5 port) doesn't install egg-info or any other indication of its
existence. This causes parts of the python toolchain (such as pip) to not
recognize it as a python package, causing numerous issues.
The issue we to was that when installing a pip package dependent on PyQt5, pip
insists that it compile and install PyQt5 because it cannot find it.
Steps to reproduce:
1) Install the package with `pkg install py38-qt5`
2) Install pip with `pkg install py38-pip`
3) Try to install software depending on the PyQt5 package or the package itself
with `pip install PyQt5`
pip will now start installing build dependencies and try to build the package
from source, instead of the expected output: "Requirement already satisfied:
PyQt5 in /usr/local/lib/python3.8/site-packages (5.15.4)".
Note: The binding is still likely usable in python scripts because the metaport
also installs QtPy, which DOES specify PyQt5 as the top-level directory in its
egg-info. However, this clearly isn't sufficient.
More information about the kde-freebsd
mailing list