From nobody Wed Sep 3 14:06:53 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 4cH4DG2jj8z66TWj for ; Wed, 03 Sep 2025 14:06:54 +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" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cH4DG2BFTz3lkv for ; Wed, 03 Sep 2025 14:06:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756908414; 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=XhUJTrfyxMdrpB2Zt3SKQuY2pgslOWjQIiJJoJCEW1Q=; b=MXNF89S9tncpQ0EjJbf6UH366FEXj2vy9V+iBNoGWebxQXmNrEcQk3ISUAFYSWjkMJr0qk L1hw8BP4VGNSYLRyf//8pbuphe27lMfxkGNeilmnMYqTW8bOv3uAwL3I9rpp3U+syFr/O9 QPqzvPXO/MySrQQRCOVPkCiR1v5bRD8Zvy0x0EHzUeeu9+Ds9D8NexRM44jPZ1xkCEfL5t 0JN09pNSRShtLMj6ZxlRj2VrmU265BHSce+U16ee5MG7g6iuGhulB9if2N3SkefdtzpEzs t4TUhBBvnHQs0LTV53oymGCI/KjQ1tcAtCNeR/cBE90R2mUeQlyGiRCNEh8+Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756908414; 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=XhUJTrfyxMdrpB2Zt3SKQuY2pgslOWjQIiJJoJCEW1Q=; b=jtd62ESsj5YSrCjMAWcdIb1VNT0TTiZi0fH9FEONZ4ZMNfzN7GcbEJRINmT92wfWV4H57D 6aek8G2aj2f5ZmWsQPS1ZLPvqjfkl4gbBbcFY40kHIsFSHTwnnOci578mJz6itVj73+ZMa fUOfRzvnjR5GazmDiD6LPDWmGZ1wvAXHYLIvOEGXqlmPh6E0Z4fFAdU6TCMxes4WBwZJrz 6dfB38wP15boN41F0LLpiIBBNHokZYE1W1puLKc55tPsGsuHVPCMhVFPhXXpD20f02kZyI lG93KR+WezWxfPTrBJCyGvoZmRhennqFTcJOL8O75VSmlESdFcRm7DpZ7clHxQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756908414; a=rsa-sha256; cv=none; b=ckaHw7IPd868lLp/qf75dbcyse8rEEl22U/nH9jAuAnlCjhLL0KRo7W4f+B9uRs2jvX3fv vFVVdqkPElWFewS4UdbDHYzndVbeVsl/bq/PnBJ0J/Pu6o+KA1zs1hcjTjCs9U1hvOBIDk 4w6hj5GLdMiROahg6MetuAcB6ToLvjnEIVEPrror1XojZE4h5Kp8Jx4f9KKuGaGopkdrBb rlssujXGzHEQQZCAisJbcuoxJ51Ax12sDuuivlHDZXGh8+ze4GgKTK4TyQbFgoOb3r4Xbi hQrr9r9DNwTeHFSpYyU+RksN4Nkb61R9n71MNYtDBdxzLD8VwWNldds5pQ+KgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cH4DG1p7Sz4Zk for ; Wed, 03 Sep 2025 14:06:54 +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 583E6sKh031262 for ; Wed, 3 Sep 2025 14:06:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 583E6sSN031261 for python@FreeBSD.org; Wed, 3 Sep 2025 14:06:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 289273] devel/py-setuptools-scm: avoid stripping GIT_CEILING_DIRECTORIES Date: Wed, 03 Sep 2025 14:06:53 +0000 X-Bugzilla-Reason: CC 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 Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mandree@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ merge-quarterly? 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=3D289273 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D9ed2f48707ea779576bca72418b8c4f= 7cdc01df8 commit 9ed2f48707ea779576bca72418b8c4f7cdc01df8 Author: Matthias Andree AuthorDate: 2025-09-03 13:09:23 +0000 Commit: Matthias Andree CommitDate: 2025-09-03 14:06:06 +0000 devel/py-setuptools-scm: Heed GIT_CEILING_DIRECTORIES https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283098 introduced GIT_CEILING_DIRECTORIES=3D${WRKDIR} so that Python port buil= ds do not ascend up and start looking at our entire ports tree, which is usually unrelated. The upstream setuptools-scm package as of 8.0.4 deliberately breaks this and strips all GIT_* environment variables except three, and this will lead to "git archive" that it calls when looking up extra requisites for building a wheel in the entire ports tree again. Note the bug will not be observed if either WRKDIR is outside of PORTSDIR's hierarchy (in poudriere, say), or for builds of ports if py-setuptools-scm aren't installed. Add GIT_CEILING_DIRECTORIES to the list of variables to keep so that https://cgit.freebsd.org/ports/commit/?id=3Ddeb79782a9b87c64d06441e4bf67e46= bf19c45c3 continues to work even if setuptools-scm is installed and WRKDIR is a subdirectory of PORTSDIR. This is an interim fix until we receive the upstream fix, which requires a new release: =20=20=20 https://github.com/pypa/setuptools-scm/commit/98b70785ab99ee32b6863c32d0fc8= 44cd2c3dd95 PR: 289273 Fixes: deb79782a9b87c64d06441e4bf67e46bf19c45c3 Approved by: python@ (maintainer, vishwin@) MFH: 2025Q3 devel/py-setuptools-scm/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=