-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
Note:
- poetry depends on poetry-plugin-export https://github.com/python-poetry/poetry/blob/master/pyproject.toml#L36
- poetry-plugin-export depends on poetry https://github.com/python-poetry/poetry-plugin-export/blob/main/pyproject.toml#L21
This prevents bazel, which is circular-dependency-phobic, from building targets which depend on poetry. I believe the motivation for the dependencies are that
- Its nice if everyone who installs poetry just gets this export functionality. plugin-export makes poetry better
- Who would install plugin-export and not poetry? This dependency makes pip install do something reasonable.
I see three possible remediations:
A) Inline poetry-plugin-export since its not too much python and is always installed now anyway
B) Break the plugin-export dependency on poetry. This may add friction but the error messages should be obvious about whats going on.
C) Break the poetry dependency on plugin-export. This would probably require some code change so that poetry would discover if the extra package was present.
I think B is the easiest, but I'm really not sure. Would love to hear your thoughts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels