mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-29 03:02:55 +00:00
Remove editable: false support (#5987)
## Summary This doesn't actually work yet. We'll re-add it in the future. Closes #5958.
This commit is contained in:
parent
8eada4077a
commit
cd0171a2ed
6 changed files with 8 additions and 24 deletions
|
|
@ -224,8 +224,6 @@ pub enum Source {
|
|||
/// When set to `false`, the package will be fetched from the remote index, rather than
|
||||
/// included as a workspace package.
|
||||
workspace: bool,
|
||||
/// `true` by default.
|
||||
editable: Option<bool>,
|
||||
},
|
||||
/// A catch-all variant used to emit precise error messages when deserializing.
|
||||
CatchAll {
|
||||
|
|
@ -286,10 +284,7 @@ impl Source {
|
|||
if workspace {
|
||||
return match source {
|
||||
RequirementSource::Registry { .. } | RequirementSource::Directory { .. } => {
|
||||
Ok(Some(Source::Workspace {
|
||||
editable,
|
||||
workspace: true,
|
||||
}))
|
||||
Ok(Some(Source::Workspace { workspace: true }))
|
||||
}
|
||||
RequirementSource::Url { .. } => {
|
||||
Err(SourceError::WorkspacePackageUrl(name.to_string()))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue