After a git pull, there should be a hook to check if the declarative deps in our requirements files have changed, and if so, an update of the virtualenv should be performed. Or, as an alternative the Makefile could be extended to include functionality such as provided by maven run or gradle run.
Jonny and me spent at least one hour debugging errors caused by an out-of-sync venv :-(
After a quick web search I found Pipenv, a fairly new project which seems to provide a similar mechanism to Python which bundler provides for Ruby. Maybe we can give this a try... But pipenv install has to be called before anyway.
After a
git pull
, there should be a hook to check if the declarative deps in our requirements files have changed, and if so, an update of the virtualenv should be performed. Or, as an alternative the Makefile could be extended to include functionality such as provided bymaven run
orgradle run
.Jonny and me spent at least one hour debugging errors caused by an out-of-sync venv :-(