Browse Source

ref: fix pip/wheel flipflop by using the pinned versions (#36636)

anthony sottile 2 years ago
parent
commit
6d08d3064c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      scripts/lib.sh

+ 2 - 1
scripts/lib.sh

@@ -91,7 +91,8 @@ sudo-askpass() {
 }
 
 upgrade-pip() {
-    pip install --upgrade 'pip==21.2' 'wheel==0.36.2'
+    grep -E '^(pip|setuptools|wheel)==' requirements-dev-frozen.txt |
+        xargs pip install --upgrade
 }
 
 install-py-dev() {