https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289273

--- Comment #7 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=9ed2f48707ea779576bca72418b8c4f7cdc01df8

commit 9ed2f48707ea779576bca72418b8c4f7cdc01df8
Author:     Matthias Andree <mand...@freebsd.org>
AuthorDate: 2025-09-03 13:09:23 +0000
Commit:     Matthias Andree <mand...@freebsd.org>
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=283098
    introduced GIT_CEILING_DIRECTORIES=${WRKDIR} so that Python port builds
    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=deb79782a9b87c64d06441e4bf67e46bf19c45c3
    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:
   
https://github.com/pypa/setuptools-scm/commit/98b70785ab99ee32b6863c32d0fc844cd2c3dd95

    PR:             289273
    Fixes:          deb79782a9b87c64d06441e4bf67e46bf19c45c3
    Approved by:    python@ (maintainer, vishwin@)
    MFH:            2025Q3

 devel/py-setuptools-scm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to