Skip to content

Commit

Permalink
Changes for v2.5.3 release. Upgraded python version to 3.9 for smoke …
Browse files Browse the repository at this point in the history
…tests. (#1809)
  • Loading branch information
pranavrth authored Sep 2, 2024
1 parent df3380f commit 5347020
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ execution_time_limit:
global_job_config:
env_vars:
- name: LIBRDKAFKA_VERSION
value: v2.5.3-RC1
value: v2.5.3
prologue:
commands:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
# built documents.
#
# The short X.Y version.
version = '2.5.3rc1'
version = '2.5.3'
# The full version, including alpha/beta/rc tags.
release = version
######################################################################
Expand Down
2 changes: 1 addition & 1 deletion examples/docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FROM alpine:3.12

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

ENV LIBRDKAFKA_VERSION v2.5.3-RC1
ENV LIBRDKAFKA_VERSION v2.5.3
ENV KAFKACAT_VERSION master


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_install_requirements(path):
setup(name='confluent-kafka',
# Make sure to bump CFL_VERSION* in confluent_kafka/src/confluent_kafka.h
# and version in docs/conf.py.
version='2.5.3rc1',
version='2.5.3',
description='Confluent\'s Python client for Apache Kafka',
author='Confluent Inc',
author_email='[email protected]',
Expand Down
2 changes: 1 addition & 1 deletion src/confluent_kafka/src/confluent_kafka.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
*/
#define CFL_VERSION 0x02050300
#define CFL_VERSION_STR "2.5.3rc1"
#define CFL_VERSION_STR "2.5.3"

/**
* Minimum required librdkafka version. This is checked both during
Expand Down
2 changes: 1 addition & 1 deletion tools/smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fi
pyvers_tested=

# Run tests with python3
for py in 3.8 ; do
for py in 3.9 ; do
echo "$0: # Smoketest with Python$py"

if ! python$py -V ; then
Expand Down
12 changes: 8 additions & 4 deletions tools/test-manylinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ fi
echo "$0 running from $(pwd)"

function setup_ubuntu {
export DEBIAN_FRONTEND=noninteractive
# Ubuntu container setup
apt-get update
apt-get install -y python3.8 curl
apt-get install -y -q software-properties-common
add-apt-repository ppa:deadsnakes/ppa
# python3-distutils is required on Ubuntu 18.04 and later but does
# not exist on 14.04.
apt-get install -y python3.8-distutils || true
apt-get install -y -q python3.9
apt-get install -y -q python3.9-distutils
apt-get install -y -q curl
}


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

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

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


_wheels="$wheelhouse/*manylinux*.whl"
Expand Down

0 comments on commit 5347020

Please sign in to comment.