From nobody Sat Apr 5 16:44:06 2025 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 4ZVLsL30QLz5sSVW for ; Sat, 05 Apr 2025 16:44:06 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZVLsL2D8Hz3KYg for ; Sat, 05 Apr 2025 16:44:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743871446; 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=aGsQ4SGi1G1cUaRxULa5tAQlVsEwKTo1TtLRs/Db1ME=; b=TUilxL+QDWUEExVAda+WTDXVVoMBaXb0854F4t6WCfn2rqoJqnsI//xM421n5CM9+JMLAJ oLEUt09bN1sPIBRRrgaqEk8OPWqHMUiavodQAPsdPFp3oe42XucVHPyk/Gt5N1YsLsQg1f 83Z6VswKcSIJ5I9PaLCXkEx3mfA8ofKsflaHABss/6IU8kUiChRNVZq3gzoZ7/0S8/xE0w BJPT+VQAK4woD0XwRV3jHSRyfsjY8zBTQPde19SXMBEcI9Rk9I1Spp92wJyXAW/ekuHAku cIEI2FjwuQtUAv8fiES89Cfo0/WT7sw3bu3jlMrDwGNGP0+anx7nD78q1cbb4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743871446; a=rsa-sha256; cv=none; b=ucpK4mq8Otj2+guP6J60fLHPA3WmxBHqYWzaBDLoAR6qm3aILKGg9whb75y1pKM2bfobUA G8Nt4ChmPSfXuhZn5lRFe7j43YXlb6CZ2nS+OWEvdyu/gjuK3yE24VfykORclNC+oNr8bQ 6yY96M6zaIYge0epcLA8X0gDrDJ6K3GvWMW0TUaFDB4s+OHBgSp9PsHo5xCP0c5pjbCvns E7reCetyjxDqJ5vZ5XxOIyyYcgeUPitUgLbhudWf0o45xXQlHR4hfLAMKlhGyD88rpoR0V sF9dkCfpemUZhQQB3q5y1CBLzGWfb2Y/5vmspngzBxll2QLKnu1NLSGY13FfMQ== 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=1743871446; 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=aGsQ4SGi1G1cUaRxULa5tAQlVsEwKTo1TtLRs/Db1ME=; b=B0cTmVU7OTTryTPvsPO+fKkV4eKYoie/ug0fVGLbc05xTxfw8xO9Y0vMlCMRRgxlIbzBX0 yiKweR3eoLwgAUzX4k+uR9/SKNXeT9RBtCiM/c+9zjwkiaHog67br9Ex2n+TkDOa1ssihu ML+bwW46d5RuTJoMt3RTecZii1KLL4GLvDE27vhZOg3DoQNnmVOvK7ymizyFefQ0Fovuuo iD7y2Thn9Uy7rzFiPWtt7SeTHWJIDhqLO0s3mNqoEUJs0GDh8vZkv6THAYjb2+V6Pp3jtB bc0Geomg0DumiG+yXj6LFVBP7uByBtz4j9eyG8K+LPBiHZV/LzAYlhmMdewYOg== 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 4ZVLsL1dFgz7sr for ; Sat, 05 Apr 2025 16:44:06 +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 535Gi6tg061547 for ; Sat, 5 Apr 2025 16:44:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 535Gi6Jb061546 for python@FreeBSD.org; Sat, 5 Apr 2025 16:44:06 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 271673] lang/python312: New port, update to 3.12.8 Date: Sat, 05 Apr 2025 16:44:06 +0000 X-Bugzilla-Reason: 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: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: 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=3D271673 --- Comment #60 from Charlie Li --- (In reply to Baptiste Daroussin from comment #58) >From a technical standpoint, it may be possible to add a new CPython versio= n to the tree without adjusting python.mk. From a political standpoint, it is no= t. The case of landing new CPython without the corresponding python.mk bits results in complaints over false advertising of supported Python 3.12+ pkg(= 8)s on every mailing list and random PRs, some of which may include patches to enable 3.12+ prematurely. That's more disorganised than containing everythi= ng here in this PR. Generally I post my stuff on phab, sometimes as PR attachments depending on maintainer habit/preference, only when ready for public testing and feedbac= k. In this case everything relevant has been publicly shared. As a compromise since I found more tree-wide changes that need to happen be= fore latest upstream setuptools can land (bug 270358 comment 78), I will offer t= his: convert the existing setuptools (without update) to USE_PYTHON=3Dpep517 so = that it stops using the standard library baseutils removed in Python 3.12 and la= ter, then this, 3.13 and associated python.mk changes can land one after the oth= er pretty much simultaneously. (In reply to p5B2EA84B3 from comment #57) site-packages under ${PREFIX}/${LOCALBASE} is the exclusive domain of pkg(8= ), ie externally-managed by pkg(8), so pip is never to be used there. PEP-668 [0][1] allows enforcing this restriction and will come independent of this. Many non-Python programs in our ports tree have Python dependencies so it i= s a bad idea to mix package management systems in the same hierarchy. [0] https://peps.python.org/pep-0668/ [1] https://packaging.python.org/en/latest/specifications/externally-managed-en= vironments/#externally-managed-environments --=20 You are receiving this mail because: You are the assignee for the bug.=