You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a continuation of the issue from #1273. In that issue the gitignore code was changed to stop searching when it found a .git directory. However sdist bundles do not include that directory. This causes hatch to continue searching through parent directories until it finds one.
This is causing issues in Buildroot as we download the sdist for python-jsonschema-specifications and build it. But that project lacks a .gitignore. We recently added our own .gitignore containing just * to a parent directory in buildroot/buildroot@a14c862. But this inadvertently broke that package so it ignores everything.
In #1273@ofek suggested stopping the search if PKG-INFO is found, which should fix the issue.
The text was updated successfully, but these errors were encountered:
This is a continuation of the issue from #1273. In that issue the gitignore code was changed to stop searching when it found a
.git
directory. However sdist bundles do not include that directory. This causes hatch to continue searching through parent directories until it finds one.This is causing issues in Buildroot as we download the sdist for
python-jsonschema-specifications
and build it. But that project lacks a.gitignore
. We recently added our own.gitignore
containing just*
to a parent directory in buildroot/buildroot@a14c862. But this inadvertently broke that package so it ignores everything.In #1273 @ofek suggested stopping the search if
PKG-INFO
is found, which should fix the issue.The text was updated successfully, but these errors were encountered: