From nobody Fri Sep 17 22:03:56 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B5EA317CB8C0 for ; Fri, 17 Sep 2021 22:03:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HB7JX31Tmz4vGV for ; Fri, 17 Sep 2021 22:03:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 417411DE48 for ; Fri, 17 Sep 2021 22:03:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18HM3uJ3039664 for ; Fri, 17 Sep 2021 22:03:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18HM3usa039663 for ports-bugs@FreeBSD.org; Fri, 17 Sep 2021 22:03:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 258563] devel/py-qt5: missing egg-info, invisible to pip Date: Fri, 17 Sep 2021 22:03:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jamertwo@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258563 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 it= self with `pip install PyQt5` pip will now start installing build dependencies and try to build the packa= ge 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 meta= port also installs QtPy, which DOES specify PyQt5 as the top-level directory in = its egg-info. However, this clearly isn't sufficient. --=20 You are receiving this mail because: You are the assignee for the bug.=