Skip to content

Support frozen sync without workspace manifests - #22018

Merged
charliermarsh merged 1 commit into
charlie/reject-workspace-member-shadowingfrom
charlie/frozen-lockfile-sync
Oct 3, 2026
Merged

charliermarsh merged 1 commit into
charlie/reject-workspace-member-shadowingfrom
charlie/frozen-lockfile-sync

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Summary

Allow uv sync --frozen to discover uv.lock when the workspace manifest is unavailable. We emit a preview warning unless --preview-features frozen-lockfile is enabled. When the workspace manifest is present, we use its configuration, including source mappings for extra build dependencies. When a member manifest remains available, its build dependency sources are also used.

Lockfile-only sync requires revision 5 or later and uses the selected member's recorded default groups and group Python requirements, matching frozen sync with a manifest. Non-project workspace roots require explicit group selection because their defaults are not recorded, and their group-specific Python requirements are also unavailable. Local packages still need their source trees and build metadata to be installed.

This also enables uv workspace metadata --frozen --sync without a workspace manifest.

@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from f5fe4bc to 1b77d58 Compare September 28, 2026 00:43
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from 1b77d58 to c849808 Compare September 28, 2026 00:51
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from c849808 to a3e9c48 Compare September 28, 2026 01:11
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from a3e9c48 to 75c96f6 Compare September 28, 2026 01:22
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from 75c96f6 to 694a6ef Compare September 28, 2026 01:28
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from 694a6ef to afbf760 Compare September 28, 2026 14:02
@charliermarsh charliermarsh changed the title Support frozen sync directly from lockfiles Support frozen sync without workspace manifests Sep 28, 2026
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from afbf760 to c38afb8 Compare September 28, 2026 17:19
@charliermarsh
charliermarsh removed this pull request from stack #22012 September 28, 2026 17:21
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from c38afb8 to a8eff56 Compare September 28, 2026 17:30
@charliermarsh
charliermarsh force-pushed the charlie/frozen-lockfile-sync branch from a8eff56 to 62e7e88 Compare September 28, 2026 17:42
@codspeed

codspeed Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 54 untouched benchmarks
⏩ 47 skipped benchmarks1


Comparing charlie/frozen-lockfile-sync (9d26cbc) with charlie/reject-workspace-member-shadowing (177e6fa)2

Open in CodSpeed

Footnotes

  1. 47 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on charlie/reject-workspace-member-shadowing (64a441e) during the generation of this report, so 2339d6b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

This branch was previously deployed

1 inactive deployment
automations — 9d26cbc9 Deployed Oct 2, 2026 by charliermarsh via review / security review #49041
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to existing functionality preview Experimental behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants