-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
area/cliRelated to the command lineRelated to the command linearea/plugin-apiRelated to plugins/plugin APIRelated to plugins/plugin APIkind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performance
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: Windows 10
- Poetry version: 1.2.0
- Link of a Gist with the contents of your pyproject.toml file: N/A
Issue
There does not appear to be a way to install a custom plugin locally without involving PyPi. I've tried the following commands:
Within the plugin directory:
poetry self add <plugin name>
Result:
'NoneType' object has no attribute 'startswith'
Within the dist directory after building:
poetry self add <wheel file>
Result:
Could not parse version constraint: <wheel file>
I have been able to work around this by using the system pip to install the plugin, but this is an ugly workaround for an issue that makes testing incredibly difficult.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/cliRelated to the command lineRelated to the command linearea/plugin-apiRelated to plugins/plugin APIRelated to plugins/plugin APIkind/enhancementNot a bug or feature, but improves usability or performanceNot a bug or feature, but improves usability or performance