Repository navigation
Migrate python-distribution-parser into distribution/ (#18630) - #2
Merged
Merged
Conversation
… rewrite imports (#18630) Fresh copy (no history graft) from rstudio/python-distribution-parser; root package parse -> distribution; internal/ nesting preserved. Builds and vets. Lint fixes and test gating follow.
…snapshot prefixes (#18630) TestParse needs python/rust/gpg/twine + network; tag it distribution_integration and skip when tools absent, keeping default CI pure-Go. Rewrite cupaloy golden type headers parse_test.->distribution_test. after the package rename; prune 4 orphaned matplotlib snapshots. Fast-follow: committed-fixture replay coverage.
tarReadCheck consumed the first header from the shared tar.Reader, so ReadFile started at the second entry and missed an sdist whose PKG-INFO is the first tar member. Copied verbatim from upstream. ReadFile now uses a fresh reader; adds an in-memory-tar regression test. Surfaced by RoboRev.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Copy-fresh migration per RFD 0001 Phase 0. Ports rstudio/python-distribution-parser into distribution/ (source repo stays live, linked from README/NOTICE; not archived yet, gated on #18634).
Commits:
Note: 'Distribution' interface stays under internal/ (minimal surface); Requires-Dist stays []string per RFD. CI coverage for distribution/ is limited until the fast-follow fixture issue lands (the live parse test is gated).
Closes #18630.