Skip to content

Commit c570b8a

Browse files
committed
update to minimally required version of pip
1 parent bada048 commit c570b8a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

release-test.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ package=schema-salad
77
module=schema_salad
88
repo=https://github.com/common-workflow-language/schema_salad.git
99
run_tests="py.test --pyarg ${module}"
10+
pipver=6.0 # minimum required version of pip
1011

1112
rm -Rf testenv? || /bin/true
1213

@@ -19,7 +20,7 @@ virtualenv testenv4
1920
# First we test the head
2021
source testenv1/bin/activate
2122
rm testenv1/lib/python-wheels/setuptools* \
22-
&& pip install --force-reinstall -U pip==1.5.6 \
23+
&& pip install --force-reinstall -U pip==${pipver} \
2324
&& pip install setuptools==20.10.1
2425
make install-dependencies
2526
make test
@@ -35,7 +36,7 @@ pushd testenv1/not-${module}; ../bin/${run_tests}; popd
3536
cd testenv2
3637
source bin/activate
3738
rm lib/python-wheels/setuptools* \
38-
&& pip install --force-reinstall -U pip==1.5.6 \
39+
&& pip install --force-reinstall -U pip==${pipver} \
3940
&& pip install setuptools==20.10.1
4041
pip install -e git+${repo}@${HEAD}#egg=${package}
4142
cd src/${package}
@@ -53,7 +54,7 @@ bin/${run_tests}
5354
cd ../testenv3/
5455
source bin/activate
5556
rm lib/python-wheels/setuptools* \
56-
&& pip install --force-reinstall -U pip==1.5.6 \
57+
&& pip install --force-reinstall -U pip==${pipver} \
5758
&& pip install setuptools==20.10.1
5859
pip install ${package}*tar.gz
5960
pip install pytest

0 commit comments

Comments
 (0)