From b1722331eb0c515d4b7fec7dbd84193e4f95a0ab Mon Sep 17 00:00:00 2001
From: Henrik Levkowetz <henrik@levkowetz.com>
Date: Mon, 22 Jun 2020 13:42:15 +0000
Subject: [PATCH] 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

---
 bin/mkrelease | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/mkrelease b/bin/mkrelease
index 05a0912cc..84ebb5748 100755
--- a/bin/mkrelease
+++ b/bin/mkrelease
@@ -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."