Skip to content

Can't add plugin in relative directory #4851

@raven-wing

Description

@raven-wing
  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • [ x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Fedora 34
  • Poetry version: 1.2.0a2

Issue

If you install plugin from relative directory poetry failes with error that there is no such directory. E.g.
poetry plugin add ../my_plugin/dist/my_plugin-0.1.0-py3-none-any.whl
results with:
Directory ../my_plugin/dist/my_plugin-0.1.0-py3-none-any.whl does not exist

If I run plugin add giving absolute path poetry adds plugin successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions