Skip to content

Commit 9fe730c

Browse files
V2.9.0rc (#1951)
* Version v2.9.0rc1 * v2.9.0 feature release * install tomli * install pip3 tomli * install pip3 tomli * Change to tomllib * Add local path to buildwheels script * Check which pip and python3 * Check which pip and python3 * add python path dynamically * Set python version to 3.11 * Switch Path version to 3.11 * Add python3 to script * Set python version to 3.11 and set path * Update changelog typo
1 parent 4606799 commit 9fe730c

File tree

7 files changed

+30
-8
lines changed

7 files changed

+30
-8
lines changed

.semaphore/semaphore.yml

+12
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ blocks:
3030
jobs:
3131
- name: Build
3232
commands:
33+
- sem-version python 3.11
34+
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
35+
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
3336
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
3437
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
3538
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
@@ -53,6 +56,9 @@ blocks:
5356
jobs:
5457
- name: Build
5558
commands:
59+
- sem-version python 3.11
60+
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
61+
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
5662
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
5763
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
5864
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/
@@ -74,6 +80,9 @@ blocks:
7480
jobs:
7581
- name: Build
7682
commands:
83+
- sem-version python 3.11
84+
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
85+
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
7786
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
7887
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
7988
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
@@ -99,6 +108,9 @@ blocks:
99108
jobs:
100109
- name: Build
101110
commands:
111+
- sem-version python 3.11
112+
- PYTHON_VERSION=$(pyenv versions --bare | grep '^3.11' | head -n1)
113+
- export PATH="$(pyenv root)/versions/$PYTHON_VERSION/bin:$PATH"
102114
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
103115
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
104116
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/

CHANGELOG.md

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

3+
## v2.9.0
4+
5+
v2.9.0 is a feature release with the following fixes and enhancements:
6+
7+
- Add Client Credentials OAuth support for Schema Registry (#1919)
8+
- Add custom OAuth support for Schema Registry (#1925)
9+
10+
confluent-kafka-python v2.9.0 is based on librdkafka v2.8.0, see the
11+
[librdkafka release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.8.0)
12+
for a complete list of changes, enhancements, fixes and upgrade considerations.
13+
314
## v2.8.2
415

516
v2.8.2 is a maintenance release with the following fixes and enhancements:

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.8.2'
30+
version = '2.9.0'
3131
# The full version, including alpha/beta/rc tags.
3232
release = version
3333
######################################################################

pyproject.toml

+1-1
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.8.2"
7+
version = "2.9.0"
88
description = "Confluent's Python client for Apache Kafka"
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",

src/confluent_kafka/src/confluent_kafka.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
* 0xMMmmRRPP
4343
* MM=major, mm=minor, RR=revision, PP=patchlevel (not used)
4444
*/
45-
#define CFL_VERSION 0x02080200
46-
#define CFL_VERSION_STR "2.8.2"
45+
#define CFL_VERSION 0x02090000
46+
#define CFL_VERSION_STR "2.9.0"
4747

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

tools/wheels/build-wheels.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#
44
# Build wheels (on Linux or OSX) using cibuildwheel.
55
#
6-
76
this_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
87

98

@@ -54,7 +53,7 @@ $this_dir/install-librdkafka.sh $librdkafka_version dest
5453

5554
install_pkgs=cibuildwheel==$cibuildwheel_version
5655

57-
python -m pip install ${PIP_INSTALL_OPTS} $install_pkgs ||
56+
python3 -m pip install ${PIP_INSTALL_OPTS} $install_pkgs ||
5857
pip3 install ${PIP_INSTALL_OPTS} $install_pkgs
5958

6059
if [[ -z $TRAVIS ]]; then

tools/wheels/install-macos-python-required-by-cibuildwheel.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import platform
1313
import sys
1414
import os
15-
import tomli
15+
import tomllib
1616
import urllib.request
1717
import re
1818
import shutil
@@ -26,7 +26,7 @@
2626
response = urllib.request.urlopen(config_url).read()
2727

2828
content = response.decode('utf-8')
29-
d = tomli.loads(content)
29+
d = tomllib.loads(content)
3030
macos_config = d['macos']['python_configurations']
3131

3232
machine_arc = platform.machine()

0 commit comments

Comments
 (0)