Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compatibility] install tgz extension #7081

Closed
mobidyc opened this issue Sep 5, 2024 · 5 comments · Fixed by #7201
Closed

[compatibility] install tgz extension #7081

mobidyc opened this issue Sep 5, 2024 · 5 comments · Fixed by #7201
Labels
compatibility Compatibility with a specification or another tool good first issue Good for newcomers help wanted Contribution especially encouraged

Comments

@mobidyc
Copy link

mobidyc commented Sep 5, 2024

Hi,

Installing a .tgz extension fails in error using uv

uv 0.4.4
python 3.10

# uv pip install acmeapi.tgz
error: Failed to parse: `acmeapi.tgz`
  Caused by: Expected path (`acmeapi.tgz`) to end in a supported file extension: `.whl`, `.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`, or `.tar.zst`
acmeapi.tgz
^^^^^^^^^^

no issue using pip

@charliermarsh charliermarsh added the compatibility Compatibility with a specification or another tool label Sep 5, 2024
@charliermarsh
Copy link
Member

Thanks, will fix.

@charliermarsh
Copy link
Member

We should add all of these: https://github.com/pypa/pip/blob/111eed14b6e9fba7c78a5ec2b7594812d17b5d2b/src/pip/_internal/utils/filetypes.py#L9 (we already support them, I mean the extensions).

@charliermarsh charliermarsh added good first issue Good for newcomers help wanted Contribution especially encouraged labels Sep 5, 2024
@mikeleppane
Copy link
Contributor

Hey! Can I fix this?

@zanieb
Copy link
Member

zanieb commented Sep 7, 2024

@mikeleppane go for it!

@charliermarsh
Copy link
Member

@mikeleppane -- Just let us know if you're not able or don't plan to get to it (or need some pointers :)), so we can prioritize accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Compatibility with a specification or another tool good first issue Good for newcomers help wanted Contribution especially encouraged
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@charliermarsh @mobidyc @zanieb @mikeleppane and others