Added a 'pip check' action to bin/mkrelease, to halt on package incompatibilities. ('pip install' returns 0 even after installing an incompatible package ...).

- Legacy-Id: 18026
This commit is contained in:
Henrik Levkowetz 2020-06-22 13:42:15 +00:00
parent 3e6837a3b5
commit b1722331eb

View file

@ -236,6 +236,7 @@ $do svn commit static/lib/ -m "Updated static files under static/lib/"
note "Upgrading the python library modules before checking migrations and running tests ..."
$do pip install --upgrade -r requirements.txt
$do pip check
note "Checking that all model changes have been captured in migrations ..."
$do ietf/manage.py makemigrations | tee /dev/stderr | $do grep -q "^No changes detected$" || die "Model changes without migrations found."