Skip to content

Commit 48ad122

Browse files
authored
2.12.0rc2 (#2086)
* Add instructions to update the soak test setup script
1 parent f443ea6 commit 48ad122

File tree

11 files changed

+46
-14
lines changed

11 files changed

+46
-14
lines changed

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
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.11.1
11+
value: v2.12.0-RC2
1212
prologue:
1313
commands:
1414
- checkout

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Confluent Python Client for Apache Kafka - CHANGELOG
22

3-
## Unreleased
3+
4+
## v2.12.0 - 2025-10-07
5+
6+
v2.12.0 is a feature release with the following enhancements:
7+
8+
confluent-kafka-python v2.12.0 is based on librdkafka v2.12.0, see the
9+
[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.12.0)
10+
for a complete list of changes, enhancements, fixes and upgrade considerations.
11+
412

513
## v2.12.0b1 - 2025-10-01
614

@@ -33,6 +41,7 @@
3341
- For batch jobs, scripts, or highest-throughput pipelines without an event
3442
loop, the synchronous `Producer` remains recommended.
3543

44+
3645
## v2.11.1 - 2025-08-18
3746

3847
v2.11.1 is a maintenance release with the following fixes:

examples/docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
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.11.1"
33+
ENV LIBRDKAFKA_VERSION="v2.12.0-RC2"
3434
ENV KCAT_VERSION="master"
3535
ENV CKP_VERSION="master"
3636

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "confluent-kafka"
7-
version = "2.12.0b1"
7+
version = "2.12.0rc2"
88
description = "Confluent's Python client for Apache Kafka"
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",

requirements/requirements-tests-install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
-r requirements-avro.txt
55
-r requirements-protobuf.txt
66
-r requirements-json.txt
7-
tests/trivup/trivup-0.13.0.tar.gz
7+
tests/trivup/trivup-0.14.0.tar.gz

src/confluent_kafka/src/confluent_kafka.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@
3838
/**
3939
* @brief confluent-kafka-python version, must match that of pyproject.toml.
4040
*/
41-
#define CFL_VERSION_STR "2.12.0b1"
41+
#define CFL_VERSION_STR "2.12.0rc2"
4242

4343
/**
4444
* Minimum required librdkafka version. This is checked both during
4545
* build-time (just below) and runtime (see confluent_kafka.c).
4646
* Make sure to keep the MIN_RD_KAFKA_VERSION, MIN_VER_ERRSTR and #error
4747
* defines and strings in sync.
4848
*/
49-
#define MIN_RD_KAFKA_VERSION 0x020b01ff
49+
#define MIN_RD_KAFKA_VERSION 0x020c00ff
5050

5151
#ifdef __APPLE__
52-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.11.1 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
52+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.12.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
5353
#else
54-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.11.1 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
54+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.12.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
5555
#endif
5656

5757
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
5858
#ifdef __APPLE__
59-
#error "confluent-kafka-python requires librdkafka v2.11.1 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
59+
#error "confluent-kafka-python requires librdkafka v2.12.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
6060
#else
61-
#error "confluent-kafka-python requires librdkafka v2.11.1 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
61+
#error "confluent-kafka-python requires librdkafka v2.12.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
6262
#endif
6363
#endif
6464

tests/soak/setup_all_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
PYTHON_VERSIONS = [
2222
# '2.12.0',
23-
'2.11.0',
23+
'2.11.1',
2424
'2.10.1',
2525
'2.8.0',
2626
'2.6.1',

tests/trivup/trivup-0.13.0.tar.gz

-35.4 KB
Binary file not shown.

tests/trivup/trivup-0.14.0.tar.gz

35.9 KB
Binary file not shown.

tools/RELEASE.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ RCs, so it only needs to be set once for each release.
143143

144144
Commit these changes with a commit-message containing the version:
145145

146-
$ git commit -m "Version v0.11.4rc1" src/confluent_kafka/src/confluent_kafka.h docs/conf.py pyproject.toml
146+
$ git commit -m "Version v0.11.4rc1" src/confluent_kafka/src/confluent_kafka.h pyproject.toml
147147

148148

149149
## 5. Tag, CI build, wheel verification, upload
@@ -254,7 +254,9 @@ the git history to look tidy, remove any test tags, and then go back to
254254

255255

256256

257-
### 5.5.2. CANDIDATE ITERATION: Create PR
257+
### 5.5.2. Create PR
258+
259+
**CANDIDATE ITERATION:**
258260

259261
Once all test and RC builds are successful and have been verified and you're
260262
ready to go ahead with the release, it is time create a PR to have the
@@ -269,6 +271,13 @@ so try to keep the commit history tidy from the start in the RC branch.
269271
Create a PR for the RC branch and add team mates as reviewers and wait for
270272
review approval.
271273

274+
**RELEASE ITERATION:**
275+
276+
Same as the _CANDIDATE ITERATION_ plus:
277+
278+
Update `tests/soak/setup_all_versions.py` with the released version
279+
to be tested in the soak test.
280+
272281

273282
### 5.5.3. CANDIDATE ITERATION: Merge PR
274283

0 commit comments

Comments
 (0)