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

consume .whl.METADATA files when available #1211

Open
graingert opened this issue Sep 9, 2020 · 0 comments
Open

consume .whl.METADATA files when available #1211

graingert opened this issue Sep 9, 2020 · 0 comments
Labels
feature Request for a new feature

Comments

@graingert
Copy link
Member

What's the problem this feature will solve?

Currently a number of projects are trying to work around the fact that in order to resolve dependencies in Python you have to download the entire wheel in order to read the metadata. I am aware of two current strategies for working around this, one is the attempt to use the PyPI JSON API (which isn't a good solution because it's non standard, the data model is wrong, and it's not going to be secured by TUF) and the other is attempting to use range requests to fetch only the METADATA file from the wheel before downloading the entire wheel (which isn't a good solution because TUF can currently only verify entire files, and it depends on the server supporting range requests, which not every mirror is going to support).

Describe the solution you'd like

consume .whl.METADATA files when available pypi/warehouse#8254

Alternative Solutions

N/A

Additional context

N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request for a new feature
Projects
None yet
Development

No branches or pull requests

2 participants