30
30
31
31
echo " $0 running from $( pwd) "
32
32
33
-
34
- function setup_centos {
35
- # CentOS container setup
36
- yum install -q -y python python3 epel-release curl
37
- }
38
-
39
33
function setup_ubuntu {
40
34
# Ubuntu container setup
41
35
apt-get update
42
- apt-get install -y python python3 curl
36
+ apt-get install -y python3.8 curl
43
37
# python3-distutils is required on Ubuntu 18.04 and later but does
44
38
# not exist on 14.04.
45
- apt-get install -y python3-distutils || true
39
+ apt-get install -y python3.8 -distutils || true
46
40
}
47
41
48
42
@@ -57,9 +51,7 @@ function run_single_in_docker {
57
51
fi
58
52
59
53
# Detect OS
60
- if grep -qi centos /etc/system-release /etc/redhat-release 2> /dev/null ; then
61
- setup_centos
62
- elif grep -qiE ' ubuntu|debian' /etc/os-release 2> /dev/null ; then
54
+ if grep -qiE ' ubuntu|debian' /etc/os-release 2> /dev/null ; then
63
55
setup_ubuntu
64
56
else
65
57
echo " WARNING: Don't know what platform I'm on: $( uname -a) "
@@ -69,7 +61,7 @@ function run_single_in_docker {
69
61
# in a plethora of possibly outdated Python requirements that
70
62
# might interfere with the newer packages from PyPi, such as six.
71
63
# Instead install it directly from PyPa.
72
- curl https://bootstrap.pypa.io/get-pip.py | python
64
+ curl https://bootstrap.pypa.io/get-pip.py | python3.8
73
65
74
66
/io/tools/smoketest.sh " $wheelhouse "
75
67
}
@@ -86,8 +78,7 @@ function run_all_with_docker {
86
78
87
79
[[ ! -z $DOCKER_IMAGES ]] || \
88
80
# LTS and stable release of popular Linux distros.
89
- # We require >= Python 2.7 to be available (which rules out Centos 6.6)
90
- DOCKER_IMAGES=" ubuntu:14.04 ubuntu:16.04 ubuntu:18.04 ubuntu:20.04 centos:7 centos:8"
81
+ DOCKER_IMAGES=" ubuntu:18.04 ubuntu:20.04"
91
82
92
83
93
84
_wheels=" $wheelhouse /*manylinux*.whl"
0 commit comments