python-poetry / python-poetry/poetry
provide a simple way to force reinstalling local dependencies
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 34.3k
- Forks
- 2.5k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 30
Description
Feature Request
Given a pyproject.toml looking like this:
[tool.poetry.dependencies]
some-other-lib = {path = "../other_lib", develop=false}
It seems to me that poetry doesn't provide a way for me to "force reinstall" some-other-lib. If I for example have changes in that lib, how would I get those changes into my current poetry project's virtualenv?
I can remove+install, or bump the version of that lib - but that's of course cumbersome. It would be awesome if poetry provided something like
poetry update some-other-lib --force
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 tracing how the poetry update command handles a local path dependency declared in pyproject.toml. Define the expected semantics of a force reinstall and verify them with a project using some-other-lib as a local dependency, including a case where that dependency has changed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100