uv/scripts/packages/deptry_reproducer
konsti fca2883864
Avoid ignore crate finding cache gitignore (#2615)
We put a `.gitignore` with `*` at the top of our cache. When maturin was
building a source distribution inside the cache, it would walk up the
tree to find a gitignore, see that and ignore all python files. We now
add an (empty) `.git` directory one directory below, in the root of
built-wheels cache. This prevents ignore walking further up (it marks
the top level a git repository).

Deptry (from #2490) is a mid sized rust package with additional python
packages, so instead of using it in the test i've replaced it with a
small (44KB total) reproducer that uses cffi for faster building, the
entire test taking <2s on my machine.

Fixes #2490
2024-03-22 14:36:07 -05:00
..
python/deptry_reproducer Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
src Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
.gitignore Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
Cargo.lock Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
Cargo.toml Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
deptry_reproducer-0.1.0.tar.gz Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00
pyproject.toml Avoid ignore crate finding cache gitignore (#2615) 2024-03-22 14:36:07 -05:00