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-11 17:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kafka-python (Old)
and /work/SRC/openSUSE:Factory/.python-kafka-python.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kafka-python"
Thu Jun 11 17:29:46 2026 rev:13 rq:1358696 version:2.3.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kafka-python/python-kafka-python.changes
2024-03-19 17:32:23.259969172 +0100
+++
/work/SRC/openSUSE:Factory/.python-kafka-python.new.1981/python-kafka-python.changes
2026-06-11 17:31:13.012032604 +0200
@@ -1,0 +2,49 @@
+Thu Jun 11 10:09:52 UTC 2026 - Daniel Garcia <[email protected]>
+
+- Update to 2.3.2 (bsc#1268081, CVE-2026-10142, bsc#1268082, CVE-2026-10143):
+ * kafka.conn: Improve error handling for sasl authenticate
+ mechanisms
+ * kafka.net: Validate SASL/SCRAM iterations (#3026)
+ * KafkaProtocol: validate network frame size (backport of #3019)
+ * Clear _callbacks/_errbacks list when future is_done to avoid
+ reference cycles (#2891)
+2.3.1:
+ * Fix TaggedFields value encoding; add test coverage (#2725)
+ * Fix zstd multi-frame decompression failure (#2717)
+ * Fix KeyError in KafkaConsumer.committed() (#2710)
+ * Fix VarInt/VarLong encoding; move tests to test/protocol/ (#2706)
+ * Fix Fetcher._fetch_offsets_by_times retry handling (#2833)
+ * Fixes to support integration testing with external KAFKA_URI
+ (#2838)
+ * Minor py2 fixes: consumer integration test; dont pip install
+ python-snappy
+2.3.0:
+ # CLI
+ * python -m cli interfaces for kafka.admin, kafka.consumer, kafka.producer
(#2650)
+ # Producer
+ * KIP-654: Abort transaction with pending data with
+ TransactionAbortedError (#2662)
+ * KafkaProducer: Handle UnknownProducerIdError (#2663)
+ * KIP-467: Augment ProduceResponse error messaging for specific
+ culprit records (#2661)
+ # Consumer
+ * KIP-345: Consumer group static membership (#2625)
+ * KIP-207: Add ListOffsetsRequest v5 / handle
+ OffsetNotAvailableError (#2657)
+ * Fetcher: Add missing argument in debug log (#2665)
+ # AdminClient
+ * KIP-430: Return Authorized Operations in Describe Responses (#2656)
+ * Add send_request() and send_requests() to KafkaAdminClient (#2649)
+ # Maintenance
+ * Remove old/unused kafka.protocol.pickle (#2653)
+ * Switch protocol code to getattr/setattr from dict (#2654)
+ * Drop unused imports (#2651)
+
+Full changelog: https://kafka-python.readthedocs.io/en/master/changelog.html
+
+- Drop not needed patches:
+ * remove-mock.patch
+ * slightly-patch-out-six.patch
+ * python-311.patch
+
+-------------------------------------------------------------------
Old:
----
conftest.py
fixtures.py
kafka-python-2.0.2.tar.gz
python-311.patch
remove-mock.patch
service.py
slightly-patch-out-six.patch
zookeeper.properties
New:
----
python-kafka-python-2.3.2.tar.gz
----------(Old B)----------
Old: * slightly-patch-out-six.patch
* python-311.patch
Old:- Drop not needed patches:
* remove-mock.patch
* slightly-patch-out-six.patch
Old: * remove-mock.patch
* slightly-patch-out-six.patch
* python-311.patch
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kafka-python.spec ++++++
--- /var/tmp/diff_new_pack.9oUzm2/_old 2026-06-11 17:31:13.772064481 +0200
+++ /var/tmp/diff_new_pack.9oUzm2/_new 2026-06-11 17:31:13.772064481 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-kafka-python
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,12 @@
Name: python-kafka-python
-Version: 2.0.2
+Version: 2.3.2
Release: 0
Summary: Pure Python client for Apache Kafka
License: Apache-2.0
-URL: https://github.com/mumrah/kafka-python
-Source:
https://files.pythonhosted.org/packages/source/k/kafka-python/kafka-python-%{version}.tar.gz
-Source1:
https://raw.githubusercontent.com/dpkp/kafka-python/master/servers/0.11.0.3/resources/zookeeper.properties
-Source2:
https://raw.githubusercontent.com/dpkp/kafka-python/master/test/conftest.py
-Source3: fixtures.py
-Source4:
https://raw.githubusercontent.com/dpkp/kafka-python/master/test/service.py
-# PATCH-FIX-OPENSUSE Remove use of mock module
-Patch0: remove-mock.patch
-# PATCH-FIX-UPSTREAM fix tests for py3.11 gh#dpkp/kafka-python#2358
-Patch1: python-311.patch
-# PATCH-FIX-OPENSUSE Remove circular imports involving vendored modules
-Patch2: slightly-patch-out-six.patch
+URL: https://github.com/dpkp/kafka-python
+Source:
https://github.com/dpkp/kafka-python/archive/%version.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -46,6 +36,7 @@
# SECTION test requirements
BuildRequires: %{python_module lz4}
BuildRequires: %{python_module pytest-mock}
+BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-snappy}
BuildRequires: %{python_module xxhash}
@@ -61,11 +52,10 @@
%prep
%autosetup -p1 -n kafka-python-%{version}
-mkdir -p servers/0.11.0.2/resources/
-cp %{SOURCE1} servers/0.11.0.2/resources/
-
-cp %{SOURCE2} %{SOURCE3} %{SOURCE4} test/
-touch test/__init__.py
+# Do not distribute tests
+sed -i 's/exclude = ."test"./exclude = ["test*"]/' pyproject.toml
+# remove all shebang from non-executable scripts
+find . -name "*.py" -exec sed -i '/#!\/usr\/bin\/env python/d' {} \;
%build
%pyproject_wheel
@@ -75,9 +65,9 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# test_kafka_producer_gc_cleanup is sometimes off by 1
-# test_send broken with Python 3.12
-%pytest -rs -k 'not (test_kafka_consumer_offsets_for_time_old or
test_kafka_producer_gc_cleanup or test_send)'
+# python-crc32c not available
+donttest="test_crc32c[None]"
+%pytest test -k "not ($donttest)"
%files %{python_files}
%license LICENSE