I have a Poetry dependency pinned down as the following in pyproject.toml
:
[tool.poetry.dependencies]
top-framework = { git = "https://github.com/tradingstrategy-ai/top-framework.git", rev = "master" }
Even if I push new commits to master
branch on Github, poetry install
won't reinstall the changes.
This is an ongoing issue with Poetry. Unfortunately, at the moment Poetry does not pick up changes inside Git branches.
However you can force reinstall the package with pip
after activating poetry shell
. The force reinstall will always pick the latest changes from Git:
pip install --force-reinstall --no-deps "git+https://github.com/tradingstrategy-ai/top-framework.git#master"