Sync all packages in a virtual workspace (#4636)

## Summary

This PR dodges some of the bigger issues raised by
https://github.com/astral-sh/uv/pull/4554 and
https://github.com/astral-sh/uv/pull/4555 by _not_ changing any of the
bigger semantics around syncing and instead merely changing virtual
workspace roots to sync all packages in the workspace (rather than
erroring due to being unable to find a project).

Closes #4541.
This commit is contained in:
Charlie Marsh 2024-06-29 12:43:59 -04:00 committed by GitHub
parent af9c2e60aa
commit 0bb99952f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 205 additions and 54 deletions

View file

@ -4,7 +4,7 @@ pub use error::Error;
pub use index::{BuiltWheelIndex, RegistryWheelIndex};
pub use metadata::{ArchiveMetadata, Metadata, RequiresDist, DEV_DEPENDENCIES};
pub use reporter::Reporter;
pub use workspace::{ProjectWorkspace, Workspace, WorkspaceError, WorkspaceMember};
pub use workspace::{ProjectWorkspace, VirtualProject, Workspace, WorkspaceError, WorkspaceMember};
mod archive;
mod distribution_database;