Skip to content

Commit 5347020

Browse files
authored
Changes for v2.5.3 release. Upgraded python version to 3.9 for smoke tests. (#1809)
1 parent df3380f commit 5347020

File tree

7 files changed

+14
-10
lines changed

7 files changed

+14
-10
lines changed

.semaphore/semaphore.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ execution_time_limit:
88
global_job_config:
99
env_vars:
1010
- name: LIBRDKAFKA_VERSION
11-
value: v2.5.3-RC1
11+
value: v2.5.3
1212
prologue:
1313
commands:
1414
- checkout

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# built documents.
3636
#
3737
# The short X.Y version.
38-
version = '2.5.3rc1'
38+
version = '2.5.3'
3939
# The full version, including alpha/beta/rc tags.
4040
release = version
4141
######################################################################

examples/docker/Dockerfile.alpine

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ FROM alpine:3.12
3030

3131
COPY . /usr/src/confluent-kafka-python
3232

33-
ENV LIBRDKAFKA_VERSION v2.5.3-RC1
33+
ENV LIBRDKAFKA_VERSION v2.5.3
3434
ENV KAFKACAT_VERSION master
3535

3636

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_install_requirements(path):
7575
setup(name='confluent-kafka',
7676
# Make sure to bump CFL_VERSION* in confluent_kafka/src/confluent_kafka.h
7777
# and version in docs/conf.py.
78-
version='2.5.3rc1',
78+
version='2.5.3',
7979
description='Confluent\'s Python client for Apache Kafka',
8080
author='Confluent Inc',
8181
author_email='[email protected]',

src/confluent_kafka/src/confluent_kafka.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
4444
*/
4545
#define CFL_VERSION 0x02050300
46-
#define CFL_VERSION_STR "2.5.3rc1"
46+
#define CFL_VERSION_STR "2.5.3"
4747

4848
/**
4949
* Minimum required librdkafka version. This is checked both during

tools/smoketest.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fi
3030
pyvers_tested=
3131

3232
# Run tests with python3
33-
for py in 3.8 ; do
33+
for py in 3.9 ; do
3434
echo "$0: # Smoketest with Python$py"
3535

3636
if ! python$py -V ; then

tools/test-manylinux.sh

+8-4
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,16 @@ fi
3131
echo "$0 running from $(pwd)"
3232

3333
function setup_ubuntu {
34+
export DEBIAN_FRONTEND=noninteractive
3435
# Ubuntu container setup
3536
apt-get update
36-
apt-get install -y python3.8 curl
37+
apt-get install -y -q software-properties-common
38+
add-apt-repository ppa:deadsnakes/ppa
3739
# python3-distutils is required on Ubuntu 18.04 and later but does
3840
# not exist on 14.04.
39-
apt-get install -y python3.8-distutils || true
41+
apt-get install -y -q python3.9
42+
apt-get install -y -q python3.9-distutils
43+
apt-get install -y -q curl
4044
}
4145

4246

@@ -61,7 +65,7 @@ function run_single_in_docker {
6165
# in a plethora of possibly outdated Python requirements that
6266
# might interfere with the newer packages from PyPi, such as six.
6367
# Instead install it directly from PyPa.
64-
curl https://bootstrap.pypa.io/get-pip.py | python3.8
68+
curl https://bootstrap.pypa.io/get-pip.py | python3.9
6569

6670
/io/tools/smoketest.sh "$wheelhouse"
6771
}
@@ -78,7 +82,7 @@ function run_all_with_docker {
7882

7983
[[ ! -z $DOCKER_IMAGES ]] || \
8084
# LTS and stable release of popular Linux distros.
81-
DOCKER_IMAGES="ubuntu:18.04 ubuntu:20.04"
85+
DOCKER_IMAGES="ubuntu:20.04 ubuntu:22.04"
8286

8387

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

0 commit comments

Comments
 (0)