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:
parent
3e6837a3b5
commit
b1722331eb
|
@ -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 ..."
|
note "Upgrading the python library modules before checking migrations and running tests ..."
|
||||||
$do pip install --upgrade -r requirements.txt
|
$do pip install --upgrade -r requirements.txt
|
||||||
|
$do pip check
|
||||||
|
|
||||||
note "Checking that all model changes have been captured in migrations ..."
|
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."
|
$do ietf/manage.py makemigrations | tee /dev/stderr | $do grep -q "^No changes detected$" || die "Model changes without migrations found."
|
||||||
|
|
Loading…
Reference in a new issue