Skip to content

Commit e36d719

Browse files
authored
Changes for v2.8.0 release (#1891)
1 parent 6c58534 commit e36d719

File tree

7 files changed

+50
-40
lines changed

7 files changed

+50
-40
lines changed

.semaphore/semaphore.yml

+29-29
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ execution_time_limit:
88
global_job_config:
99
env_vars:
1010
- name: LIBRDKAFKA_VERSION
11-
value: v2.6.1
11+
value: v2.8.0
1212
prologue:
1313
commands:
1414
- checkout
1515
- mkdir artifacts
1616
blocks:
17-
- name: Test
18-
dependencies: []
19-
run:
20-
# don't run the tests on non-functional changes...
21-
when: "change_in('/', {exclude: ['.github/']})"
22-
task:
23-
jobs:
24-
- name: Test
25-
commands:
26-
- sem-version python 3.9
27-
- pip install tox
28-
- tox -e cover
29-
- mkdir test-output
30-
- cp test-report.xml test-output
31-
- test-results publish test-output
32-
- artifact push workflow coverage.xml
17+
# - name: Test
18+
# dependencies: []
19+
# run:
20+
# # don't run the tests on non-functional changes...
21+
# when: "change_in('/', {exclude: ['.github/']})"
22+
# task:
23+
# jobs:
24+
# - name: Test
25+
# commands:
26+
# - sem-version python 3.9
27+
# - pip install tox
28+
# - tox -e cover
29+
# - mkdir test-output
30+
# - cp test-report.xml test-output
31+
# - test-results publish test-output
32+
# - artifact push workflow coverage.xml
3333
- name: "Wheels: OSX x64 - Python 3.6-3.12"
3434
run:
3535
when: "tag =~ '.*'"
@@ -302,15 +302,15 @@ blocks:
302302
- artifact push project artifacts/confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz --destination confluent-kafka-python-wheels-${SEMAPHORE_GIT_TAG_NAME}-${SEMAPHORE_WORKFLOW_ID}.tgz
303303
- echo Thank you
304304

305-
after_pipeline:
306-
task:
307-
agent:
308-
machine:
309-
type: s1-prod-ubuntu20-04-amd64-1
310-
jobs:
311-
- name: SonarQube
312-
commands:
313-
- checkout
314-
- sem-version java 11
315-
- artifact pull workflow coverage.xml
316-
- emit-sonarqube-data --run_only_sonar_scan
305+
# after_pipeline:
306+
# task:
307+
# agent:
308+
# machine:
309+
# type: s1-prod-ubuntu20-04-amd64-1
310+
# jobs:
311+
# - name: SonarQube
312+
# commands:
313+
# - checkout
314+
# - sem-version java 11
315+
# - artifact pull workflow coverage.xml
316+
# - emit-sonarqube-data --run_only_sonar_scan

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Confluent's Python client for Apache Kafka
22

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

514
v2.7.0 is a feature release with the features, fixes and enhancements present in v2.6.2 including the following fix:
@@ -10,6 +19,7 @@ confluent-kafka-python v2.7.0 is based on librdkafka v2.6.1, see the
1019
[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.6.1)
1120
for a complete list of changes, enhancements, fixes and upgrade considerations.
1221

22+
1323
## v2.6.2
1424

1525
> [!WARNING]

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include README.md
2+
include LICENSE
23
include src/confluent_kafka/src/*.[ch]
34
prune tests
45
prune docs

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# built documents.
2828
#
2929
# The short X.Y version.
30-
version = '2.7.0'
30+
version = '2.8.0'
3131
# The full version, including alpha/beta/rc tags.
3232
release = version
3333
######################################################################

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.6.1
33+
ENV LIBRDKAFKA_VERSION v2.8.0
3434
ENV KAFKACAT_VERSION master
3535

3636

pyproject.toml

+1-2
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.7.0"
7+
version = "2.8.0"
88
description = "Confluent's Python client for Apache Kafka"
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",
@@ -14,7 +14,6 @@ classifiers = [
1414
"Programming Language :: Python :: 3",
1515
"Topic :: Software Development :: Libraries :: Python Modules"]
1616
readme = "README.md"
17-
license = { file = "LICENSE" }
1817
requires-python = ">=3.7"
1918
dynamic = ["dependencies", "optional-dependencies"]
2019

src/confluent_kafka/src/confluent_kafka.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242
* 0xMMmmRRPP
4343
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
4444
*/
45-
#define CFL_VERSION 0x02070200
46-
#define CFL_VERSION_STR "2.7.0"
45+
#define CFL_VERSION 0x02080000
46+
#define CFL_VERSION_STR "2.8.0"
4747

4848
/**
4949
* Minimum required librdkafka version. This is checked both during
5050
* build-time (just below) and runtime (see confluent_kafka.c).
5151
* Make sure to keep the MIN_RD_KAFKA_VERSION, MIN_VER_ERRSTR and #error
5252
* defines and strings in sync.
5353
*/
54-
#define MIN_RD_KAFKA_VERSION 0x020601ff
54+
#define MIN_RD_KAFKA_VERSION 0x020800ff
5555

5656
#ifdef __APPLE__
57-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.6.1 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
57+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.8.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
5858
#else
59-
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.6.1 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
59+
#define MIN_VER_ERRSTR "confluent-kafka-python requires librdkafka v2.8.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
6060
#endif
6161

6262
#if RD_KAFKA_VERSION < MIN_RD_KAFKA_VERSION
6363
#ifdef __APPLE__
64-
#error "confluent-kafka-python requires librdkafka v2.6.1 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
64+
#error "confluent-kafka-python requires librdkafka v2.8.0 or later. Install the latest version of librdkafka from Homebrew by running `brew install librdkafka` or `brew upgrade librdkafka`"
6565
#else
66-
#error "confluent-kafka-python requires librdkafka v2.6.1 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
66+
#error "confluent-kafka-python requires librdkafka v2.8.0 or later. Install the latest version of librdkafka from the Confluent repositories, see http://docs.confluent.io/current/installation.html"
6767
#endif
6868
#endif
6969

0 commit comments

Comments
 (0)