From nobody Fri Dec 10 17:31:12 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 C807918E68AE for ; Fri, 10 Dec 2021 17:31:12 +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 4J9dH44CmPz3lf3 for ; Fri, 10 Dec 2021 17:31:12 +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 712C91E71F for ; Fri, 10 Dec 2021 17:31:12 +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 1BAHVCkU002893 for ; Fri, 10 Dec 2021 17:31:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BAHVCpd002892 for ports-bugs@FreeBSD.org; Fri, 10 Dec 2021 17:31:12 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 260324] Mk/Uses/python.mk: setup.py deprecated (sort of) Date: Fri, 10 Dec 2021 17:31:12 +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 Many People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639157472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ke72DquBORLrRJ/KYAvCuk/24HGGWnLSdczOy3SYu1U=; b=QUfqSxBbFzD+8gBUDFoHRIMOoeP+/l+MB2g4S2zt10EsrlX6ICpMcU3/VAzbPXXDHj9yui DdMTqUFqDAJqr0fCGuZBMLc/hoSEgNqi2PGDKlVKrZ/AQF0eGkYJKGBTmVGBIF2wKyPGn2 ArfgJEbKb1s7KaBx/dtaxwcBk1zl1+zeBYfzvkvolswm2NRfFm+l5IE177KXp+Q/Tubz+p KPh5cH7AtbvWgzPPO6er+yU+I1xhYBdhWjddIxitcNxE0jIUgb2O5Q5MUVMbIYXl0XlCSp 4gJUtomVe5IPHvUHBxFd31MbWP8XVsTKGAJywtTcNxy0Q0L0+AYwon/HZQkewQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639157472; a=rsa-sha256; cv=none; b=chEcK4JT2NTcUbnJNHiIFRa4ho7Z7RdlewMkCrgPQT7Gs5zjwsSuWFrVUACnlI/nX0KOe7 bVGZE9uxkCDGGiOs2KweyDrnXR6211JTIjrqbzoc4z6omVIacEiyH7pKPzUjEmloO52G9V 35V/WRQNJ4tO19N1sILbV37NTpqUBcYEXrEc6likWh4tEpy8ikLHuxHDPABkSqFhINl2WU jI6JOZ5Lp/3v47f4np4/Tnud/u3woG62KrZm9k+Hn94kNpUZ42XguWvReewPb7yIJW4rXl Hb8/cApr073kPFueTKcCdYUJ0/6RXg2N2vjsbc5S5lGdTqGVYSaW7FBDOfNr+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260324 Bug ID: 260324 Summary: Mk/Uses/python.mk: setup.py deprecated (sort of) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Apparently using setup.py directly is sort of being deprecated: https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html Has anyone started investigating a replacement to use for python.mk? This seems like something close to usable: pip install --no-build-isolation --no-clean --ignore-installed --root=3D$STAGING_DIR $WRKSRC Some of those flags are hacks to work around issues installing as non-root = to non-$HOME locations, such as: https://github.com/pypa/pip/issues/3063 Using 'pip install' directly does not mesh well with the FreeBSD ports para= digm separating build & stage (install). But it's reasonably fast in brief test= ing. Using 'python -m build' to generate a wheel file that 'pip install' could u= se (still with the hacky flags due to the above issue 3063) is incredibly slow. --=20 You are receiving this mail because: You are the assignee for the bug.=