Poetry can get locked into an unusable state with plugins: 'The command "..." already exists' #6456
Open
3 tasks done
Labels
area/plugin-api
Related to plugins/plugin API
kind/bug
Something isn't working as expected
status/confirmed
Issue is reproduced and confirmed
version/1.2.0
-vvv
option).Issue
If plugins with conflicting commands are installed, Poetry gets locked into an unusable state where even
--help
fails, and there's no way to recover unless you manually activate Poetry's internal venv and remove the plugins. Someone reported this to me because I had a plugin calledpoetry-dynamic-versioning-plugin
that I've since deprecated and merged intopoetry-dynamic-versioning[plugin]
. If you still have the deprecated one installed and then install the newly updated one, it breaks Poetry.With debug mode:
The text was updated successfully, but these errors were encountered: