Date: Sat, 09 Oct 2021 20:03:28 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 258891] devel/py-setuptools_scm: tries to git archive the entire ports tree on build Message-ID: <bug-258891-21822-g73XFTX39b@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-258891-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-258891-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=258891 --- Comment #5 from Kai Knoblich <kai@FreeBSD.org> --- Created attachment 228549 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228549&action=edit DRAFT-workaround-for-py-setuptools_scm-v1.patch (In reply to Robert Clausecker from comment #4) I was able to verify the issue, thanks for the pointers. As you already mentioned in comment #1 and comment #2, a broader workaround is required. This is because ports, that have devel/py-setuptools_scm as a dependency, make use of its entrypoints during build which triggers then "file_finder_git" if a ".git" directory is found. Tampering with the entrypoints of devel/py-setuptools_scm (e.g. to patch out "file_finder_git") seems not be a good idea so the workaround with the GIT_CEILING_DIRECTORIES environment might be a good workaround. Attached is a preliminary patch that sets GIT_CEILING_DIRECTORIES if "USE_PYTHON=distutils" is set. First tests were ok, but I've to test it in more detail in the next few days. I'll also soon create a review so that others from python@ can also look at it. -- You are receiving this mail because: You are on the CC list for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258891-21822-g73XFTX39b>
