File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,12 @@ if [[ -n $wheeldir ]]; then
25
25
echo " $0 : wheeldir $wheeldir does not exist"
26
26
exit 1
27
27
fi
28
- python -m pip install virtualenv
29
28
fi
30
29
31
30
pyvers_tested=
32
31
33
32
# Run tests with both python2 and python3 (whatever versions the OS provides)
34
- for py in 2.7 3.8 3.7 3.6 3.5 ; do
33
+ for py in 2.7 3.8 3.6 ; do
35
34
echo " $0 : # Smoketest with Python$py "
36
35
37
36
if ! python$py -V ; then
@@ -54,6 +53,8 @@ for py in 2.7 3.8 3.7 3.6 3.5 ; do
54
53
55
54
trap cleanup EXIT
56
55
56
+ python$py -m pip install virtualenv
57
+
57
58
virtualenv -p python$py $venvdir
58
59
source $venvdir /bin/activate
59
60
hash -r
@@ -74,7 +75,8 @@ for py in 2.7 3.8 3.7 3.6 3.5 ; do
74
75
fi
75
76
76
77
pip install --find-links " $wheeldir " confluent-kafka==$version
77
- pip install --find-links " $wheeldir " confluent-kafka[avro]==$version
78
+ # Install a prebuilt version that doesn't require a gcc toolchain
79
+ pip install --find-links " $wheeldir " --binary-only :fastavro: confluent-kafka[avro]==$version
78
80
pip install --find-links " $wheeldir " confluent-kafka[protobuf]==$version
79
81
pip install --find-links " $wheeldir " confluent-kafka[json]==$version
80
82
fi
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ function run_all_with_docker {
87
87
[[ ! -z $DOCKER_IMAGES ]] || \
88
88
# LTS and stable release of popular Linux distros.
89
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 debian:stable centos:7"
90
+ DOCKER_IMAGES=" ubuntu:14.04 ubuntu:16.04 ubuntu:18.04 ubuntu:20.04 centos:7 centos:8 "
91
91
92
92
93
93
_wheels=" $wheelhouse /*manylinux*.whl"
You can’t perform that action at this time.
0 commit comments