Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2025 01:36:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 289273] devel/py-setuptools-scm: avoid stripping GIT_CEILING_DIRECTORIES
Message-ID:  <bug-289273-21822-FWwAq7h64O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289273-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com

--- Comment #10 from John Hein <jcfyecrayz@liamekaens.com> ---
Thanks for fixing this, Matthias.

I had carried this local patch around for about a year now. I had planned to
submit the patch - apologies that it got lost in my backlog.  Things were
working so much better, so it got forgotten here.


diff --git
a/devel/py-setuptools-scm/files/patch-src_setuptools__scm___run__cmd.py
b/devel/py-setuptools-scm/files/patch-sr
c_setuptools__scm___run__cmd.py
new file mode 100644
index 000000000000..03890c9b9874
--- /dev/null
+++ b/devel/py-setuptools-scm/files/patch-src_setuptools__scm___run__cmd.py
@@ -0,0 +1,11 @@
+--- src/setuptools_scm/_run_cmd.py.orig        2023-10-02 15:08:52 UTC
++++ src/setuptools_scm/_run_cmd.py
+@@ -94,7 +94,7 @@ def no_git_env(env: Mapping[str, str]) -> dict[str, st
+         k: v
+         for k, v in env.items()
+         if not k.startswith("GIT_")
+-        or k in ("GIT_EXEC_PATH", "GIT_SSH", "GIT_SSH_COMMAND")
++        or k in ("GIT_CEILING_DIRECTORIES", "GIT_EXEC_PATH", "GIT_SSH",
"GIT_SSH_COMMAND")
+     }
+
+

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289273-21822-FWwAq7h64O>