-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
enhancementNew feature or requestNew feature or request
Description
poetry-monoranger-plugin cannot work as a local/project plugin at the root repo.
It has to be installed globally. Alternatively, it can be added as a project plugin to each of the sub-projects. There is no way around this because the plugin needs to be loaded somehow before it can start patching the various internal method for install, lock, etc. Since poetry only looks at the plugins in the current sub-package, it will never load the plugin from the parent/root project.
To consider this resolved:
- When installing as a sub-package local plugin, the first time it is installed, a lockfile is created. After the lockfile is deleted, subsequent
poetry installwork fine - Investigate whether we can have an additional feature that loads plugins from the monorepo root (except
poetry-monoranger-pluginitself) - Improve docs on this issue
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request