Skip to content

Release Candidate 2.13.2#2201

Open
Pratyush Ranjan (PratRanj07) wants to merge 1 commit intomasterfrom
dev_v2.13.2rc
Open

Release Candidate 2.13.2#2201
Pratyush Ranjan (PratRanj07) wants to merge 1 commit intomasterfrom
dev_v2.13.2rc

Conversation

@PratRanj07
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 26, 2026 17:50
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project to the 2.13.2 release-candidate line by bumping the Python package version and the librdkafka version expectations/pins used for builds.

Changes:

  • Bump confluent-kafka-python version to 2.13.2rc1 (C extension + pyproject.toml).
  • Raise the minimum required librdkafka version check/messages to v2.13.2.
  • Update CI and example Docker build pins to use v2.13.2-RC1.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
src/confluent_kafka/src/confluent_kafka.h Updates client version string and minimum required librdkafka version/messages.
pyproject.toml Updates Python package version to 2.13.2rc1.
examples/docker/Dockerfile.alpine Pins Docker build to librdkafka v2.13.2-RC1.
.semaphore/semaphore.yml Pins CI wheel builds to librdkafka v2.13.2-RC1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

env_vars:
- name: LIBRDKAFKA_VERSION
value: v2.13.0
value: v2.13.2-RC1
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pins LIBRDKAFKA_VERSION to v2.13.2-RC1 while the C extension’s minimum required librdkafka version/error messages were updated to v2.13.2. Please align the CI librdkafka version with the in-source minimum version check (either use the final v2.13.2 here, or update the in-source minimum version to accept the RC build).

Suggested change
value: v2.13.2-RC1
value: v2.13.2

Copilot uses AI. Check for mistakes.
COPY . /usr/src/confluent-kafka-python

ENV LIBRDKAFKA_VERSION="v2.13.0"
ENV LIBRDKAFKA_VERSION="v2.13.2-RC1"
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Dockerfile now builds against librdkafka tag v2.13.2-RC1, but the code’s minimum required librdkafka version check was bumped to v2.13.2. Please keep the Docker build pinned to a librdkafka version that satisfies the in-source minimum version gate (final v2.13.2 when available, or update the min-version constant/messages to accept the RC tag used here).

Suggested change
ENV LIBRDKAFKA_VERSION="v2.13.2-RC1"
ENV LIBRDKAFKA_VERSION="v2.13.2"

Copilot uses AI. Check for mistakes.
Comment on lines +49 to +69
#define MIN_RD_KAFKA_VERSION 0x020d02ff

#ifdef __APPLE__
#define MIN_VER_ERRSTR \
"confluent-kafka-python requires librdkafka v2.13.0 or later. " \
"confluent-kafka-python requires librdkafka v2.13.2 or later. " \
"Install the latest version of librdkafka from Homebrew by running " \
"`brew install librdkafka` or `brew upgrade librdkafka`"
#else
#define MIN_VER_ERRSTR \
"confluent-kafka-python requires librdkafka v2.13.0 or later. " \
"confluent-kafka-python requires librdkafka v2.13.2 or later. " \
"Install the latest version of librdkafka from the Confluent " \
"repositories, see http://docs.confluent.io/current/installation.html"
#endif

#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
#ifdef __APPLE__
#error \
"confluent-kafka-python requires librdkafka v2.13.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
"confluent-kafka-python requires librdkafka v2.13.2 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
#else
#error \
"confluent-kafka-python requires librdkafka v2.13.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
"confluent-kafka-python requires librdkafka v2.13.2 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
Copy link

Copilot AI Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The minimum required librdkafka version is set to v2.13.2 (0x020d02ff) and the user-facing error strings also say "v2.13.2 or later", but the repo’s CI/Docker configs in this PR are pinned to the librdkafka release-candidate tag v2.13.2-RC1. These should be kept consistent: either (a) update CI/Docker to use the final v2.13.2 tag/redist once available, or (b) adjust MIN_RD_KAFKA_VERSION (and the messages) to allow the v2.13.2-RC1 build-time/runtime version so RC builds don’t get rejected by the version gate.

Copilot uses AI. Check for mistakes.
@sonarqube-confluent
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants