Repository navigation
fix(sources): exclude .git from configured tarball sdists - #1417
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
2e16316 to
5494a60
Compare
.git out of configured tarball sdists.git from configured tarball sdists
With `build_sdist: tarball`, a git checkout's `.git` ended up in the sdist. Pass `exclude_vcs=True` on the configured tarball path. Packages without `source:` are unchanged. Co-Authored-By: Claude <claude@anthropic.com> Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
|
This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again. |
bc443f2
into
python-wheel-build:new-resolver-config
With
build_sdist: tarball, fromager repacks the source tree as the sdist. For a git checkout, that tree includes.git, so the sdist shipped the whole repository history.This passes
exclude_vcs=Trueon the configuredtarballpath only. Packages withoutsource:are unchanged.Only the sdist leaves out
.git. The wheel is still built from the source tree in the work directory, so builds that need git metadata (for example,git rev-parse HEADinsetup.py) still work. This matchespep517, which also never puts.gitin an sdist.Found in the review of #1414.
🤖 Generated with Claude Code