[Bug 289273] devel/py-setuptools-scm: avoid stripping GIT_CEILING_DIRECTORIES
Date: Thu, 11 Sep 2025 01:36:26 UTC
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.