Skip to content

Commit 5cb030e

Browse files
committed
Merge remote-tracking branch 'origin/master' into typehinting-kafka
2 parents 8be650a + d6f3725 commit 5cb030e

39 files changed

+156
-99
lines changed

.semaphore/semaphore.yml

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ execution_time_limit:
88
global_job_config:
99
env_vars:
1010
- name: LIBRDKAFKA_VERSION
11-
value: v2.12.0
11+
value: v2.12.1-RC1
1212
prologue:
1313
commands:
1414
- checkout
1515
- mkdir artifacts
1616
blocks:
17-
- name: "Wheels: OSX x64 - Python 3.7-3.12"
17+
- name: "Wheels: OSX x64 - Python 3.8-3.12"
1818
run:
1919
when: "tag =~ '.*'"
2020
dependencies: []
@@ -34,7 +34,7 @@ blocks:
3434
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
3535
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
3636
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
37-
- name: "Wheels: OSX x64 - Python 3.13"
37+
- name: "Wheels: OSX x64 - Python 3.13-3.14"
3838
run:
3939
when: "tag =~ '.*'"
4040
dependencies: []
@@ -50,14 +50,14 @@ blocks:
5050
- name: CIBW_SKIP
5151
value: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-* cp312-*
5252
- name: CIBW_ENVIRONMENT_MACOS
53-
value: MACOSX_DEPLOYMENT_TARGET=15
53+
value: MACOSX_DEPLOYMENT_TARGET=13
5454
jobs:
5555
- name: Build
5656
commands:
57-
- sem-version python 3.11
57+
- sem-version python 3.13
5858
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
59-
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
60-
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/
59+
- tar -czf wheelhouse-macOS-${ARCH}-py313-plus.tgz wheelhouse
60+
- artifact push workflow wheelhouse-macOS-${ARCH}-py313-plus.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313-plus.tgz/
6161
- name: "Wheels: OSX arm64 - Python 3.8-3.12"
6262
run:
6363
when: "tag =~ '.*'"
@@ -80,7 +80,7 @@ blocks:
8080
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse 2.16.2
8181
- tar -czf wheelhouse-macOS-${ARCH}.tgz wheelhouse
8282
- artifact push workflow wheelhouse-macOS-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
83-
- name: "Wheels: OSX arm64 - Python 3.13"
83+
- name: "Wheels: OSX arm64 - Python 3.13-3.14"
8484
run:
8585
when: "tag =~ '.*'"
8686
dependencies: []
@@ -98,14 +98,14 @@ blocks:
9898
- name: CIBW_SKIP
9999
value: cp38-* cp39-* cp310-* cp311-* cp312-*
100100
- name: CIBW_ENVIRONMENT_MACOS
101-
value: MACOSX_DEPLOYMENT_TARGET=15
101+
value: MACOSX_DEPLOYMENT_TARGET=13
102102
jobs:
103103
- name: Build
104104
commands:
105-
- sem-version python 3.11
105+
- sem-version python 3.13
106106
- PIP_INSTALL_OPTIONS="--user" tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
107-
- tar -czf wheelhouse-macOS-${ARCH}-py313.tgz wheelhouse
108-
- artifact push workflow wheelhouse-macOS-${ARCH}-py313.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313.tgz/
107+
- tar -czf wheelhouse-macOS-${ARCH}-py313-plus.tgz wheelhouse
108+
- artifact push workflow wheelhouse-macOS-${ARCH}-py313-plus.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}-py313-plus.tgz/
109109
- name: "Wheels: Linux arm64"
110110
run:
111111
when: "tag =~ '.*'"
@@ -122,6 +122,7 @@ blocks:
122122
jobs:
123123
- name: Build
124124
commands:
125+
- sem-version python 3.13
125126
- ./tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
126127
- tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse
127128
- artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
@@ -141,6 +142,7 @@ blocks:
141142
jobs:
142143
- name: Build
143144
commands:
145+
- sem-version python 3.11
144146
- ./tools/wheels/build-wheels.sh "${LIBRDKAFKA_VERSION#v}" wheelhouse
145147
- tar -czf wheelhouse-linux-${ARCH}.tgz wheelhouse
146148
- artifact push workflow wheelhouse-linux-${ARCH}.tgz --destination artifacts/wheels-${OS_NAME}-${ARCH}.tgz/
@@ -170,6 +172,8 @@ blocks:
170172
- name: MSYSTEM
171173
value: UCRT64
172174
commands:
175+
- pyenv install 3.11.9
176+
- pyenv global 3.11.9
173177
- bash tools/mingw-w64/semaphore_commands.sh
174178
- bash tools/wheels/install-librdkafka.sh $env:LIBRDKAFKA_VERSION.TrimStart("v") dest
175179
- tools/wheels/build-wheels.bat x64 win_amd64 dest wheelhouse
@@ -379,10 +383,10 @@ blocks:
379383
run:
380384
when: "tag =~ '.*'"
381385
dependencies:
382-
- "Wheels: OSX x64 - Python 3.7-3.12"
383-
- "Wheels: OSX x64 - Python 3.13"
386+
- "Wheels: OSX x64 - Python 3.8-3.12"
387+
- "Wheels: OSX x64 - Python 3.13-3.14"
384388
- "Wheels: OSX arm64 - Python 3.8-3.12"
385-
- "Wheels: OSX arm64 - Python 3.13"
389+
- "Wheels: OSX arm64 - Python 3.13-3.14"
386390
- "Wheels: Linux arm64"
387391
- "Wheels: Linux x64"
388392
- "Wheels: Windows"

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Confluent Python Client for Apache Kafka - CHANGELOG
22

3+
## v2.12.1 - release candidate
4+
5+
v2.12.1 is a maintenance release with the following fixes:
6+
7+
- restored macOS binaries compatibility with macOS 13
8+
9+
310
## v2.12.0 - 2025-10-09
411

512
v2.12.0 is a feature release with the following enhancements:

DEVELOPER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This document provides information useful to developers working on confluent-kaf
66

77
### Prerequisites
88

9-
- Python 3.7 or higher
9+
- Python 3.8 or higher
1010
- Git
1111
- librdkafka (for Kafka functionality)
1212

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ p = Producer({'bootstrap.servers': 'mybroker1,mybroker2'})
106106

107107
def delivery_report(err, msg):
108108
""" Called once for each message produced to indicate delivery result.
109-
Triggered by poll() or flush(). """
109+
Triggered by poll() or flush()."""
110110
if err is not None:
111111
print('Message delivery failed: {}'.format(err))
112112
else:

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
5+
SPHINXOPTS = -W
66
SPHINXBUILD = sphinx-build
77
PAPER =
88
BUILDDIR = _build

docs/conf.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# All configuration values have a default; values that are commented out
1313
# serve to show the default.
1414

15-
import sphinx_rtd_theme
1615
import os
1716
try:
1817
import tomllib
@@ -133,7 +132,6 @@ def _read_version_from_pyproject(pyproject_path=None):
133132
# Theme options are theme-specific and customize the look and feel of a theme
134133
# further. For a list of options available for each theme, see the
135134
# documentation.
136-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
137135

138136
# Add any paths that contain custom themes here, relative to this directory.
139137
# html_theme_path = []

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.12.0"
33+
ENV LIBRDKAFKA_VERSION="v2.12.1-RC1"
3434
ENV KCAT_VERSION="master"
3535
ENV CKP_VERSION="master"
3636

pyproject.toml

Lines changed: 2 additions & 2 deletions
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.0"
7+
version = "2.12.1rc1"
88
description = "Confluent's Python client for Apache Kafka"
99
classifiers = [
1010
"Development Status :: 5 - Production/Stable",
@@ -14,7 +14,7 @@ classifiers = [
1414
"Programming Language :: Python :: 3",
1515
"Topic :: Software Development :: Libraries :: Python Modules"]
1616
readme = "README.md"
17-
requires-python = ">=3.7"
17+
requires-python = ">=3.8"
1818
dynamic = ["dependencies", "optional-dependencies"]
1919

2020
[[project.authors]]

requirements/requirements-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
sphinx
22
sphinx-rtd-theme
3-
tomli; python_version < "3.13"
3+
tomli; python_version < "3.11"
44
pandoc

requirements/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
tomli; python_version < "3.13"

0 commit comments

Comments
 (0)