From nobody Sat Mar 28 10:14:18 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 4fjYJt6R3lz6WJlH for ; Sat, 28 Mar 2026 10:14:22 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fjYJt4PQqz4NG7 for ; Sat, 28 Mar 2026 10:14:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774692862; 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=o6/GJNUe9rFiR2+R+DGjvo8r3YTwFZZH/bu4BgnAdS4=; b=XmhKFVMTHFPboX1EpBl0KWqR3cuMC6i/8GbuU7KeVpBaXREw5dRITfVMopQJVTRKfL8bdH qIcjrbTGIivVuedOQ0snyLMbvC2HPPAmDB1QPiyN/mMDiFzNqcHMJ7/VLfY6LDJ+WTi57m WuGaxOJUX/pxsumVxlBvhDpdqUgA4fFOuQXXluEtVPafRWt5zSi3Sg1lhO4injfBogpQm7 d23f3E72ZGKKm4DRl6IqCGO47sVLaVBe3/tZscs1RhixaIS7nEH+Tht8hTWHYfxnRXCXQT HfE1jXnx1vp1r4mZstfVrKJZGt8eQ1wHub8lBkslFrwEQrb7B5jN5DaOYqj/Lg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774692862; a=rsa-sha256; cv=none; b=bj9CRUlWveeRcvG2JmyfWPCzvuYEDbUTPn20re9Nci9PpVYHV8bSmRP+Av+KnSpc1WLVk8 LrK5lU7BLmmSfuprwZoI2jvg/HweNj+WeIimG2HluMfH68tXiTGVRlGuGteIyy8PJWkiZF +kGpAtwvhqfEcJSrMVJ9EKQ3alNxv4ECxEXtdcOM8yIZ6FDmGoMpne+UJ99kkET573y4s5 JJckmqSmy5PeStbr3VI0JjsErrFshPYY96/QqtCg39JjoPYPuR0jVbzOoDDgoxCBmBKvee 4D9KA9xU6xzjDlTJPd6/KCDHwAGsaH6t+nyc/IyEt+sXv3GoRPUs9JWRq9fR8w== 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=1774692862; 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=o6/GJNUe9rFiR2+R+DGjvo8r3YTwFZZH/bu4BgnAdS4=; b=ZYvbISkDnGVKyVDLMWVDH+NoilCO7Q1UW0ja+Mc9JW89RPo643S278XtRU4y0w1PdkoNCA GYgV3K5EGAzuQgW+/l4Xbp481jtmpFg63by9UrHviA7U7ah9hcfTDS4Tpd//Xz2ismaNim MFlaUeMahCayT/40n3raDy6MWBQoR08sTkPvtfDRyfBL5szos3zjCdVen4/nBXtN/V6iMu MHTvgwNi3vzUiyQLAJ06HYz8f4ESwDd7wBF3kGJ1zcyEdv1FzzYaRqbbxu4CHooD92MWsP IedyS5WOzoxt/SuvpsnXMg37bCbfiOfOjEGQ2imjjRpQCf3Sws6i3EbJr4cffQ== 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 4fjYJt3pT1z5yN for ; Sat, 28 Mar 2026 10:14:22 +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 62SAEMKU012548 for ; Sat, 28 Mar 2026 10:14:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 62SAEMRN012547 for python@FreeBSD.org; Sat, 28 Mar 2026 10:14:22 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 285957] lang/python312 as default python Date: Sat, 28 Mar 2026 10:14:18 +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: tracking X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ exp-run? 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=3D285957 --- Comment #60 from Tatsuki Makino --- (In reply to Tatsuki Makino from comment #55) I will make a small note here :) If we take the initiative to use 3.12 and adjust it in advance, the migrati= on should be easy :) However, the following command will fail. ktrace -f /tmp/ktrace.out -di -t cn make -C /usr/ports/devel/py-dbus/ confi= gure FLAVOR=3Dpy312 BUILD_ALL_PYTHON_FLAVORS=3D1 DEFAULT_VERSIONS=3Dpython=3D3.11 Dependencies are provided for 3.12, but 3.11 is used during the build. This cannot be avoided by just using BINARY_ALIAS. The reason is that meson is being launched by python3.11. The find_program('python3') in ${WRKSRC}/subprojects/dbus-gmain/tests/meson.build of devel/py-dbus is trea= ted specially by /usr/local/lib/python3.11/site-packages/mesonbuild/interpreter/interpreter.= py. It seems that the value of sys.executable is assigned to a variable in /usr/local/lib/python3.11/site-packages/mesonbuild/utils/universal.py, and = the value of that variable is returned. To avoid this, meson needs to be run with the same version of python flavor, and for that, meson must also support the flavor. Therefore, under the current situation, maintainers of ports that include USES=3Dpython are forced to create an environment where the next version of Python is set as the default. It is surprisingly troublesome because it includes llvm :) --=20 You are receiving this mail because: You are the assignee for the bug.=