From nobody Thu Apr 30 17:53:50 2026 X-Original-To: python@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 4g61xq15Xjz6bwx2 for ; Thu, 30 Apr 2026 17:53:51 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g61xp6jJ7z3p8X for ; Thu, 30 Apr 2026 17:53:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777571631; 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: in-reply-to:in-reply-to:references:references; bh=57B7tzOkjOLiNoDM2tfKjNTopZ+y4mTQ9n4wXgaFIEk=; b=oje286bE4GGNmcPLy8zyaNt1KZRG4dmaSYlXoZxleaqe13GH8R94fAN5gR3lvQJHlCPhGl YinGDPvsTKP38RwJMbOmhDljeKw7Ke43AaOYUfDmX3IzlT1TSvv+wRcuSE2JnDVkqcUza8 YIBL7LeKIss+ei0Ly4SI0AJMnpHPPNke20eIsgYoheSAGw8NDRiGL8jgqz7neN5cLUMZ1D cMKFVYNopL/a7IGp08FJwP/Cjr5KgGMx2Afrsi4EYWCovaJIF82Zu83ZBEWPAxkaq37wEZ Y8oj+bhMfJbUcmeRKQGjlHRrsrcWp09rVvT41OTEgazECvf2bgDfbyHE/wh70A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777571631; a=rsa-sha256; cv=none; b=Ru1OFkd9O1zyd6/BIW6gVVTkmVn0l95iAOtFvnF5ty+6XFvF85nGsG6Cd+Bb6vkxYD4jLO N4G3f+60a9blElHXaycTYUXvPcgTR6pdTvZanqZKb142aG2pBShE49dra6YVRGBwq57Dax OPHzRtqmpYyUGfxf1EpcnJzR68VyXuViTKKkHMPS8eeI/BfYwnDlIUdKwNlLzIL3s6Doqv FV0a3vdQMOQyRfUrPz24ThsXEZoxonPnkN92684wOQrlLXvEoOIiBXtNbLcyBvcIM/ppeq if81R6KpXqbxrKTxHdce0TbNuQKOcBocgp394pwmwSTAC9sC55hwuYRY3FaItg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777571631; 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: in-reply-to:in-reply-to:references:references; bh=57B7tzOkjOLiNoDM2tfKjNTopZ+y4mTQ9n4wXgaFIEk=; b=BrjkIIpzDTZXJ/wxWjUK5TFhR0gF3pPt9DXl7JfD5TIXK1sJli3Mb3bvtr6ysYyt/E4HoN yVrzgovfAqrpfLsoIuy3KHBBYFGAimJNLS8694oftxyvB0rMDirjA17hqmK/zNRrmzmi+4 l6RlW0nuktFpnXeD0qKRGEMAjZfyEQDlxjDSEHJZeGVEeIzduDwMdSiX+nCOwiu3FTPiUD 0/Y2/TBOIbPF/NhK1hmfXqHEFUoBXYMo+1nkXrpkt0+VKxMhhPgjyXVoJC3vaUkWnRuS++ 0Qtib8J0xPuablteVQIiGv5j68aHvkuSNJBJNXDq99CfW5oEGOveqWnwoAYG2w== 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 4g61xp61sTz6h5 for ; Thu, 30 Apr 2026 17:53:50 +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 63UHrocJ003982 for ; Thu, 30 Apr 2026 17:53:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63UHromE003981 for python@FreeBSD.org; Thu, 30 Apr 2026 17:53:50 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: python@FreeBSD.org Subject: [Bug 294631] devel/py-installer update to 1.0.0 broke several python ports builds Date: Thu, 30 Apr 2026 17:53:50 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed 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: vishwin@freebsd.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294631 --- Comment #29 from Charlie Li --- I'm really not joking. The default behaviour of even devel/py-build, which is central to USE_PYTHON=3Dpep517 outside of itself and its dependencies (namely flit-cor= e and installer), when building a binary distribution (binary wheel) is to create= a virtual environment to perform the build. We only override this default for= the following reasons: - poudriere is our analogue of said virtual environment. We use pkg(8) to manage dependencies in there. - system packages (ie anything from pkg(8)) representing Python packages are not available in Python virtual environments by default. pip is used in Pyt= hon virtual environments for package management, which we do not want, and would not be permissible since the network is accessed outside of fetch. I understand that this is not something youse wanted to hear. Unfortunately, this is not a FreeBSD ports problem, or even a problem with other operating system-level package building systems. If anything, we (both as FreeBSD Por= ts and individuals who build stuff from source) and other operating system-lev= el package building systems have had to adapt to this reality, handbook or not= . To quote myself in an unrelated thread broaching this topic: The wider open source community has largely shied away from building in live environments because it is not verifiably reproducible, amongst other reaso= ns. This is especially pronounced with many projects using CI. This allows proj= ects to better focus on more relevant tasks and bugs and such rather than provid= ing too much tech support for what could very well be pilot error. For Python packages specifically, isolated environments are expected and practically required. There is widespread dependency version bounding and pinning and excepting for various different reasons. In a pure Python environment, both pip [0] and build [1] build binary wheels in an isolated virtual environment by default. There was a proposed standard [2] to make virtual environments mandatory; while withdrawn for different reasons, the sentiment remains that virtual environments are an essential part of the development workflow, binary wheel building included, to the point where higher-level tools wrap them. [3] [0] https://pip.pypa.io/en/latest/reference/build-system/ [1] https://build.pypa.io/en/latest/how-to/basic-usage.html#building-without-is= olation [2] https://peps.python.org/pep-0704/ [3] https://packaging.python.org/en/latest/overview/#virtualenv More commentary in a separate comment and title change... --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=