how to specify version when using path dependencies? #6525
-
With path dependencies
However this can be problem when caching, because modifying local dependencies won't affect lock file. can I? or if I can't, how do you manage your pyproject.toml with path dependencies for caching? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The kind of caching you are talking about is unclear, but by the very nature of local dependencies they are unversioned as you are not asking Poetry to select and fetch a version for you -- you are supplying a package directly to Poetry to be installed into your project environment. If your local dep is in the container build context then the |
Beta Was this translation helpful? Give feedback.
The kind of caching you are talking about is unclear, but by the very nature of local dependencies they are unversioned as you are not asking Poetry to select and fetch a version for you -- you are supplying a package directly to Poetry to be installed into your project environment.
If your local dep is in the container build context then the
COPY
instruction that brings it in should be invalidated by the files within changing. For other forms of caching, specifics would be needed to give any sort of advice.