Lock a git dependency to always latest commit #6609
Unanswered
rlaphoenix
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Locking to a ref and not a commit is currently not possible as it violates the principle of the lock file ensuring reproducibility as much as possible. A local path dependency with a manually-managed clone is the best way to handle this if you must not use the network to access this resource. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible for
poetry lockto lock agitdependency to the latest commit? As in, not the latest as of the locking, but the latest ever regardless of when the install from a lock file occurs.Currently, my project has a second repository as sort of a package data store. My current solution is to just do
poetry update <name>every now and then. However, the constant annoying chore commits to updating poetry.lock gets very frustrating.Beta Was this translation helpful? Give feedback.
All reactions