[Bug 258563] devel/py-qt5: missing egg-info, invisible to pip
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Sep 2021 22:03:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258563 Bug ID: 258563 Summary: devel/py-qt5: missing egg-info, invisible to pip Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: jamertwo@gmail.com Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org 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. -- You are receiving this mail because: You are the assignee for the bug.