st-tu-dresden / inloop

[Deprecated] A simple web application to manage online programming assignments
GNU General Public License v3.0
29 stars 8 forks source link

Find a way to avoid out-of-date virtualenvs after a git pull #191

Closed martinmo closed 6 years ago

martinmo commented 7 years ago

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 :-(

martinmo commented 7 years ago

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.