File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -2547,7 +2547,7 @@ buildvariants:
2547
2547
exclude_spec :
2548
2548
# Python 3.4 doesn't support OpenSSL 1.1.0+ so won't build on Debian 9+.
2549
2549
- platform : debian92
2550
- python-version : ["3.4"]
2550
+ python-version : ["3.4", "jython2.7" ]
2551
2551
auth-ssl : " auth-ssl"
2552
2552
display_name : " ${python-version} OpenSSL 1.1.0 ${platform} ${auth-ssl}"
2553
2553
tasks :
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ set -o xtrace
6
6
7
7
export JAVA_HOME=/opt/java/jdk8
8
8
9
+ # Attempt to find system pip before creating a virtualenv
10
+ PIP=$( command -v pip2 || command -v pip)
11
+
9
12
if [ -z " $PYTHON_BINARY " ]; then
10
13
echo " No python binary specified"
11
14
PYTHON_BINARY=$( command -v python || command -v python3) || true
28
31
fi
29
32
trap " deactivate; rm -rf atlastest" EXIT HUP
30
33
31
- if [ $IMPL = " Jython" -o $IMPL = " PyPy" ]; then
32
- echo " Using Jython or PyPy"
34
+ if [ $IMPL = " Jython" ]; then
35
+ echo " Using Jython"
36
+ $PIP download certifi
37
+ python -m pip install --no-index -f file://$( pwd) certifi
38
+ elif [ $IMPL = " PyPy" ]; then
39
+ echo " Using PyPy"
33
40
python -m pip install certifi
34
41
else
35
42
IS_PRE_279=$( python -c " import sys; sys.stdout.write('1' if sys.version_info < (2, 7, 9) else '0')" )
You can’t perform that action at this time.
0 commit comments