Skip to content

Commit e4576b9

Browse files
committed
fix CI upgraded to 3.8.5
1 parent 0dc127f commit e4576b9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

sources/python_host.sh

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ case "${PYVER}" in
1010
"3.8.5" ) export HASH_PYTHON3=${HASH_PYTHON3:-"URL_HASH MD5=35b5a3d0254c1c59be9736373d429db7"};;
1111
"3.9.0" ) export HASH_PYTHON3=${HASH_PYTHON3:-"URL_HASH MD5=6ebfe157f6e88d9eabfbaf3fa92129f6"};;
1212
"3.9.1" ) export HASH_PYTHON3=${HASH_PYTHON3:-"URL_HASH MD5=61981498e75ac8f00adcb908281fadb6"};;
13-
"3.9.2" ) export HASH_PYTHON3=${HASH_PYTHON3:-"URL_HASH MD5= f0dc9000312abeb16de4eccce9a870ab"};;
13+
"3.9.2" ) export HASH_PYTHON3=${HASH_PYTHON3:-"URL_HASH MD5=f0dc9000312abeb16de4eccce9a870ab"};;
1414
esac
1515

1616
export PYOPTS="--without-pymalloc --without-pydebug\
@@ -23,22 +23,22 @@ export PYTARGET="${BUILD_SRC}/python3-${ENV}"
2323

2424
export PYTHONDONTWRITEBYTECODE=1
2525

26+
#restrict $PYMINOR for env so host pip can work for populating android projects
27+
for py in ${PYMINOR} 8 7 6 5
28+
do
29+
if command -v python3.${py}
30+
then
31+
export PYTHON=$(command -v python3.${py})
32+
break
33+
fi
34+
done
35+
36+
2637
if echo $CI|grep -q true
2738
then
2839
JOBS=4
29-
export PYTHON=${PYTHON_FOR_CI:-$(command -v python3.6)}
40+
export PYTHON=${PYTHON_FOR_CI:-$PYTHON}
3041
echo "CI-force-test $PYTHON, ncpu=$JOBS"
31-
32-
else
33-
#restrict $PYMINOR for env so host pip can work for populating android projects
34-
for py in ${PYMINOR} 8 7 6 5
35-
do
36-
if command -v python3.${py}
37-
then
38-
export PYTHON=$(command -v python3.${py})
39-
break
40-
fi
41-
done
4242
fi
4343

4444
if echo $PYTHON |grep -q python3.6

0 commit comments

Comments
 (0)