-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
kind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performancekind/featureFeature requests/implementationsFeature requests/implementations
Description
We should rename the dependency option develop to editable to align with what it actually is and to avoid confusion with a
"development dependency".
- foo = { path = "./path/to/foo", develop = true }
+ foo = { path = "./path/to/foo", editable = true }Additionally we should also introduce this as a commandline option to poetry add (eg: poetry add --editable x).
Changes Required
- Update specification schema in
poetry-core. - Update dependency instances to reference
editableand fallback todevelopif not present. - Update references to
Dependency.developin bothpoetry-coreandpoetry. - Add deprecation warning when accessing
Dependency.develop. - Add
poetry checkwarning to inform users about the change. - Add
--editableoption directory and vcs dependencies topoetry addcommand. (This can be an issue on its own.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performancekind/featureFeature requests/implementationsFeature requests/implementations