Skip to content

Share registry wheel and sdist conversion between pylock writers - #23313

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/pylock-registry-artifacts
Nov 20, 2026
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/pylock-registry-artifacts

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

Summary

uv pip compile writes registry files to pylock.toml from a resolution, and uv export reads them from uv.lock. Both commands check proxy hashes, decide whether the URL already supplies the filename, and convert upload times. Compile repeats that work in separate branches for packages resolved from a wheel or a source distribution.

We now use the same constructors for registry wheels and source distributions in both commands. Compile selects the files once per package, applying the build options and compatibility checks. Export converts the files recorded in uv.lock. Both writers validate the wheels before the source distribution.

Extracted from #23310 and stacked on #23312.

@charliermarsh
charliermarsh force-pushed the charlie/pylock-registry-artifacts branch from b3d6162 to 1e82da6 Compare November 19, 2026 22:30
Base automatically changed from charlie/lock-reachable-wheel-hashes to main November 20, 2026 11:59
@charliermarsh
charliermarsh force-pushed the charlie/pylock-registry-artifacts branch from 1e82da6 to 4768e71 Compare November 20, 2026 11:59
@charliermarsh
charliermarsh marked this pull request as ready for review November 20, 2026 12:01
@charliermarsh
charliermarsh force-pushed the charlie/pylock-registry-artifacts branch from 4768e71 to cd3077f Compare November 20, 2026 12:05
@charliermarsh
charliermarsh merged commit 7bf2d9a into main Nov 20, 2026
68 checks passed
@charliermarsh
charliermarsh deleted the charlie/pylock-registry-artifacts branch November 20, 2026 12:17

This branch was previously deployed

1 inactive deployment
automations — cd3077fa Deployed Nov 20, 2026 by charliermarsh via review | security / security review #54198
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant