mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
treat .tgz the same as .tar.gz (#7201)
## Summary Fixes #7081 Treats source distribution `.tgz` the same as `.tar.gz` plans ## Test Plan Quick Version ```bash cd $(mktemp -d) uv init uv add --dev build .venv/bin/python -m build -s . mv -v dist/*tar.gz dist/"$(basename dist/*.tar.gz .tar.gz)".tgz uv pip install dist/*.tgz ``` Can add a proper test to the branch if requested
This commit is contained in:
parent
64e03ad56c
commit
14ebc393fc
3 changed files with 4 additions and 3 deletions
|
@ -304,7 +304,7 @@ formats, which need to be supported for backward compatibility, were also allowe
|
|||
reading and extracting archives in the following formats:
|
||||
|
||||
- bzip2 tarball (`.tar.bz2`)
|
||||
- gzip tarball (`.tar.gz`)
|
||||
- gzip tarball (`.tar.gz`, `.tgz`)
|
||||
- xz tarball (`.tar.xz`)
|
||||
- zip (`.zip`)
|
||||
- zstd tarball (`.tar.zst`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue