python-poetry / python-poetry/poetry
Can't add plugin in relative directory
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
- 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 (
-vvvoption).
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the poetry plugin add command and a plugin wheel in a relative directory, then compare it with the absolute-path case. Done means a relative wheel path is accepted and the plugin installs successfully without the missing-directory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100