Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-kafka-python for
openSUSE:Factory checked in at 2026-06-28 21:10:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kafka-python (Old)
and /work/SRC/openSUSE:Factory/.python-kafka-python.new.11887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kafka-python"
Sun Jun 28 21:10:31 2026 rev:14 rq:1362148 version:3.0.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kafka-python/python-kafka-python.changes
2026-06-11 17:31:13.012032604 +0200
+++
/work/SRC/openSUSE:Factory/.python-kafka-python.new.11887/python-kafka-python.changes
2026-06-28 21:11:55.673001471 +0200
@@ -1,0 +2,40 @@
+Sun Jun 28 10:25:01 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 3.0.6:
+ * consumer: track current leader epoch in addition to record
+ epoch
+ * Also `wait_for_topics` on <0.10 test fixtures
+ * Reserve buffer capacity before every encode_into write
+ * Fix backoff on bootstrap init failure after connection_made
+ * Add new extended logging args to docs/cli
+ * Fix `_build_transport` / `conn.close` race
+ * net.transport: Fix closed/write_eof handling in
+ `_write_to_sock`
+ * Fix kafka.net.connection await: raise connection failures
+ * bootstrap connection log changes
+ * Improve connection logging; dont log version check if matches
+ expected
+ * tests: print integration fixture output to console if no log
+ handlers
+ * docs: Add title headings for KafkaConsumer/KafkaProducer; add
+ sphinx-argparse to requirements-dev.txt
+ * Consumer: fix multi-broker fetch busy wait loop
+ * net: inject KernelEvent handler exceptions into coro; warn
+ dont crash if task state is still RUNNING
+ * Fix: do not mark coordinator dead on all HeartbeatResponse
+ errors
+ * Improve task cleanup with net.cancel(task), TaskState, and
+ consolidated wait_io cleanup
+ * Fix/net selector task already done
+ * Fixup socks5_proxy deprecation warning
+ * log metadata refresh failure stacktraces as DEBUG not ERROR
+ * log heartbeat rebalance response as INFO, not WARNING
+ * add --log-format, --log-date-format, --log-file, --log-config
+ * fix comma-separated --bootstrap-servers parsing
+ * fix memory leak of cancelled timeout tasks (@azdobylak /
+ #3077)
+ * receive_message_max_bytes default 100MiB
+ (consumer/producer/admin); check against fetch_max_bytes and
+ max_partition_fetch_bytes in Consumer
+
+-------------------------------------------------------------------
Old:
----
python-kafka-python-2.3.2.tar.gz
New:
----
python-kafka-python-3.0.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kafka-python.spec ++++++
--- /var/tmp/diff_new_pack.Xc6edS/_old 2026-06-28 21:11:57.733071131 +0200
+++ /var/tmp/diff_new_pack.Xc6edS/_new 2026-06-28 21:11:57.733071131 +0200
@@ -16,8 +16,14 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
+
Name: python-kafka-python
-Version: 2.3.2
+Version: 3.0.6
Release: 0
Summary: Pure Python client for Apache Kafka
License: Apache-2.0
@@ -28,6 +34,13 @@
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
# Recommends: python-crc32c # Not packaged
Recommends: python-zstandard
Suggests: python-lz4
@@ -62,6 +75,7 @@
%install
%pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/kafka-python
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -69,9 +83,20 @@
donttest="test_crc32c[None]"
%pytest test -k "not ($donttest)"
+%pre
+# removing old update-alternatives entries
+%python_libalternatives_reset_alternative kafka-python
+
+%post
+%python_install_alternative kafka-python
+
+%postun
+%python_uninstall_alternative kafka-python
+
%files %{python_files}
%license LICENSE
%doc README.rst
+%python_alternative %{_bindir}/kafka-python
%{python_sitelib}/kafka
%{python_sitelib}/kafka_python-%{version}.dist-info
++++++ python-kafka-python-2.3.2.tar.gz -> python-kafka-python-3.0.6.tar.gz
++++++
++++ 106792 lines of diff (skipped)