-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Use data-dist-info-metadata (PEP 658) to decouple resolution from downloading #11111
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
d0813e8
create LinkHash and check out dist-info-metadata (PEP 658)
cosmicexplorer 28b6134
add NEWS entry
cosmicexplorer f675e09
explain why we don't validate hexdigests now
cosmicexplorer 6675ba3
fix importlib.metadata case
cosmicexplorer 80e044a
make it work without --use-feature=fast-deps!
cosmicexplorer 266c5cd
respond to review comments
cosmicexplorer 8da1bdc
ensure PEP 691 json parsing also supports PEP 658 dist-info-metadata
cosmicexplorer 23e5492
add test case for dist-info-metadata key from PEP 691!!
cosmicexplorer a685a98
remove unused code after html5lib was removed!!
cosmicexplorer 96bd60e
rename WheelMetadata to InMemoryMetadata as per review comments
cosmicexplorer 2aa1c2f
rename from_metadata_file{,_contents}() to avoid ambiguity pointed ou…
cosmicexplorer e5b2fcd
add tests for PEP 658 metadata with wheel files too
cosmicexplorer 89f235d
add a note about further testing the json client
cosmicexplorer fc9bcdd
refactor and rename some variables in a confusing code of terse code
cosmicexplorer 036bfc0
update message for MetadataIncohsistent to allow use with PEP 658 met…
cosmicexplorer 8aeb108
raise MetadataInconsistent if the name from METADATA doesn't match th…
cosmicexplorer 931501f
Use pathlib shorthand to write file
uranusjr f8d6dae
Switch to f-string
uranusjr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Use the ``data-dist-info-metadata`` attribute from :pep:`658` to resolve distribution metadata without downloading the dist yet. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.