If one wants to update some python dependencies, one could edit the poetry.toml file, and then run brick develop to get a shell inside the container, before running poetry update which will update the lockfile.
It's imperative that the inputs from the prepare step are added as volumes, in addition to any inputs from the develop and build steps. This PRs makes sure the prepare step inputs are also added as volumes.
This is helpful in cases where someone is not able to run poetry locally.
Use-case: updating dependencies using only brick
Consider a BUILD.yaml like this:
If one wants to update some python dependencies, one could edit the
poetry.toml
file, and then runbrick develop
to get a shell inside the container, before runningpoetry update
which will update the lockfile. It's imperative that the inputs from theprepare
step are added as volumes, in addition to any inputs from thedevelop
andbuild
steps. This PRs makes sure theprepare
step inputs are also added as volumes.This is helpful in cases where someone is not able to run poetry locally.