python-poetry / python-poetry/poetry
Add local editable dependency, with remote backup?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
Discussed in https://github.com/orgs/python-poetry/discussions/8366
Originally posted by Wyko August 25, 2023
Hey all,
I'm working on two projects. Project B imports Project A as a dependency. On my local machine, I can specify the folder with Project A in it using poetry add -e. This lets me develop both projects concurrently.
How do I do that, while at the same time putting the correct repo path of Project A as well? That way anyone who does pip install on Project B gets Project A too.
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 with the linked discussion and the behavior of poetry add -e; compare how Project B's dependency is represented for local development versus pip install. Define how a local editable source and a remote repository fallback should be recorded and installed, then verify both workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100