Skip to content

Commit 2be5dfc

Browse files
committed
Wheel testing updates
1 parent f14fc0e commit 2be5dfc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tools/smoketest.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,12 @@ if [[ -n $wheeldir ]]; then
2525
echo "$0: wheeldir $wheeldir does not exist"
2626
exit 1
2727
fi
28-
python -m pip install virtualenv
2928
fi
3029

3130
pyvers_tested=
3231

3332
# 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
3534
echo "$0: # Smoketest with Python$py"
3635

3736
if ! python$py -V ; then
@@ -54,6 +53,8 @@ for py in 2.7 3.8 3.7 3.6 3.5 ; do
5453

5554
trap cleanup EXIT
5655

56+
python$py -m pip install virtualenv
57+
5758
virtualenv -p python$py $venvdir
5859
source $venvdir/bin/activate
5960
hash -r
@@ -74,7 +75,8 @@ for py in 2.7 3.8 3.7 3.6 3.5 ; do
7475
fi
7576

7677
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
7880
pip install --find-links "$wheeldir" confluent-kafka[protobuf]==$version
7981
pip install --find-links "$wheeldir" confluent-kafka[json]==$version
8082
fi

tools/test-manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function run_all_with_docker {
8787
[[ ! -z $DOCKER_IMAGES ]] || \
8888
# LTS and stable release of popular Linux distros.
8989
# 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"
9191

9292

9393
_wheels="$wheelhouse/*manylinux*.whl"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy