python-poetry / python-poetry/poetry-plugin-export
poetry export of local 'path' exported with full path
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 335
- Forks
- 57
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 3
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). -
Poetry version: 1.1.8
Issue
For the following dependency
sphinx-argparse = {path = "./deps/sphinx-argparse"}
The command poetry export --format requirements.txt produces a line with the full path in it, which prevent and sharing of this file easily:
sphinx-argparse @ file:///Users/username/path/to/my/project/deps/sphinx-argparse
The expected output would be something like
-e deps/sphinx-argparse
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue with poetry export --format requirements.txt and the local path dependency shown in the report. Trace how that dependency is rendered in the export output; done means it produces a shareable relative editable entry such as -e deps/sphinx-argparse instead of the machine-specific absolute file URI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100