Pin all dependency installation in the release script (#6584) (#6602)

Fixes #6584.

* Pin all dependency installation in the release script

* also use pip_install.py to install pytest
This commit is contained in:
ohemorange 2019-01-02 10:08:08 -08:00 committed by Brad Warren
parent 856bfe3544
commit 1cdcc15e64

View file

@ -143,7 +143,7 @@ pip install -U pip
# (or our dependencies) have conditional dependencies implemented with if
# statements in setup.py and we have cached wheels lying around that would
# cause those ifs to not be evaluated.
pip install \
python ../tools/pip_install.py \
--no-cache-dir \
--extra-index-url http://localhost:$PORT \
$SUBPKGS
@ -166,7 +166,7 @@ fi
mkdir kgs
kgs="kgs/$version"
pip freeze | tee $kgs
pip install pytest
python ../tools/pip_install.py pytest
for module in $subpkgs_modules ; do
echo testing $module
# use an empty configuration file rather than the one in the repo root