From nobody Wed Sep 03 14:14:57 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 4cH4PZ07kdz66Ty5 for ; Wed, 03 Sep 2025 14:14:58 +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 4cH4PY6n9xz3m05 for ; Wed, 03 Sep 2025 14:14:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756908897; 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=rY5JV1Bwjixdt0SZkTqcCyUKQv7spEEUlOcPYc2dI3Y=; b=EOLtOLgu9nBHLDmFuMX2m/6hnc3msMvcd0WN5mI78SoKUDp8OI0jiz8czokO7TJh9RstOQ 8d/0rs4eXC9yOhKrKjST70gIncxEhODS3DFYKe2afiXEz55JPsthFy24gwDSFNfV7hhV+e c+mC+zUIYyGayOIhXxOB+Uzwk1KPDB+/oqEBJe51AEczJxXkIMSh+cLPZvBdZnS4WGU+FT 96DgRqQTzcMR3bZeB+v8qLGMvAJdR3DqD8LxZpoHQxofO1lKIlnjV7xT2l0zJ0t4lUSUTg azxrmtfe0cMO72vZ/Qg/XhkS5R2qd8W7VKa/uRYpa+EDYF69dSAWaqCbEmQMSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756908897; 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=rY5JV1Bwjixdt0SZkTqcCyUKQv7spEEUlOcPYc2dI3Y=; b=K+UI8pusr2qWyqQNQU3MnLEzCTcf6NUT8UdNBgpUQHxg/pfBBfmFHmmgeiewainHGxENRB ER0CyKvSCLcWUn1WcSeXnCRxofa06Z+uJ0FreXntO4beGHOf4PJxMezKU2dS5gDy208/d2 B2QU+eQ/k/FmKh54PPtWfcrTMn9DOOCTYl7S11/eMsNpJBt7RGm1h21wpFOeUbmzbMu8uk aMpZGFrQoaEz2QBJ4R0ohUaucP+dnb9KrdVJadJgsjxhDExVEqUX/qW+7fmEz6/GUZ0091 N/v3ThmLLhlu7uI0GMNnQjPdjStcA6GLROgAcGHsschXrotBx2iPDjQdVA9aQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756908897; a=rsa-sha256; cv=none; b=NSmgsEuQoTrLHrQ9KFlk+gphWZhfT9mWT+SBzvbpYDhN3VCvmez2zRxhCmPEayYP2L2/mm ysBiceMRkP+H3+r3HX/t8p9sknyqqFs36AOHiNpg+eRTVbjZGdAfa1ZmWpH2DmYhABCdCE podu6wgCQZYPMG9YytOdjAiBkMP7GMa+m75PiZFfrL8wBS+yhLQ9BL7ijfyS4Sdk/ZiH3w g/catzsttz63PCFindqfT30uGTrH4b0SSTpWL66c/mWeHdJztOeTFMFIqYTQ7s5iENDfxF Rrd67DWMh6XUM9KZEBTo6l5EapuhfcgvKBDcHInsl5gcNs/8QHG5uazlWN9pPA== 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 4cH4PY66yhz4fJ for ; Wed, 03 Sep 2025 14:14:57 +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 583EEvB2049689 for ; Wed, 3 Sep 2025 14:14:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 583EEvK2049688 for python@FreeBSD.org; Wed, 3 Sep 2025 14:14:57 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:14:57 +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 #8 from commit-hook@FreeBSD.org --- A commit in branch 2025Q3 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D17cf32c577055899a1827b3aea248c6= d71a949b4 commit 17cf32c577055899a1827b3aea248c6d71a949b4 Author: Matthias Andree AuthorDate: 2025-09-03 13:09:23 +0000 Commit: Matthias Andree CommitDate: 2025-09-03 14:07:10 +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 (cherry picked from commit 9ed2f48707ea779576bca72418b8c4f7cdc01df8) 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.=