-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption).
- OS version and name: MacOS 11.4, Python 3.8.10
- Poetry version: 1.2.0a1
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/mrapczynski/48fa2d80f82cdde5c7acda9fb70bcbba
Issue
I am tinkering with the new plugin system and Poetry 1.2.0a1, and I am running into some issues that I am not sure how to work through.
I can run poetry plugin add <path> to install a plugin package from a local directory. The objective is first develop and test the plugin within my local environment and then deal with publishing to PyPI later.
Starting with a clean install of Poetry 1.2.0a1, the package installs and so far no problem.
Also running poetry plugin show is fine:
I can also see that the plugin is activate when running Poetry commands on another project:
Now it's time to move past "Hello world" and start building a meaningful plugin but I need to figure how to install plugin updates from the same local directory. I tried re-adding the plugin using the same path and now Poetry blows up.
I thought about poetry remove plugin ... to just uninstall and reinstall, but that does not work and ends in same result with the dataclasses resolution issue.
The only way right now to break out of this situation is uninstall and reinstall Poetry 1.2.0a1 so that it has a clean virtual env.
python install-poetry.py --uninstall && python install-poetry.py --preview
Thoughts? What am I missing?



