diff --git a/docs/packages/confluent-kafka.yaml b/docs/packages/confluent-kafka.yaml index ede36bf23d6..7eb1c87fb12 100644 --- a/docs/packages/confluent-kafka.yaml +++ b/docs/packages/confluent-kafka.yaml @@ -28,3 +28,4 @@ versions: - filename: confluent_kafka-2.15.1-cp314-cp314-manylinux_2_38_riscv64.manylinux_2_39_riscv64.whl sha256: fecab5f49cd9b62859d71c85039d7969a133d6356f3301668f09faf34c850c5e requires-python: '>=3.8' +- version: 2.16.0 diff --git a/patches/confluent-kafka/2.16.0/0001-add-zstd-s-and-curl-s-licences-to-the-binary-wheel-s.patch b/patches/confluent-kafka/2.16.0/0001-add-zstd-s-and-curl-s-licences-to-the-binary-wheel-s.patch new file mode 100644 index 00000000000..6da8911b340 --- /dev/null +++ b/patches/confluent-kafka/2.16.0/0001-add-zstd-s-and-curl-s-licences-to-the-binary-wheel-s.patch @@ -0,0 +1,101 @@ +From 1194a46dfeff375d6e936f0da262b82638c7eacc Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Wed, 26 Aug 2026 02:29:29 +0200 +Subject: [PATCH] add zstd's and curl's licences to the binary wheel's LICENSE + +Upstream-Status: To upstream [not submitted yet: confluentinc requires a signed CLA before a pull request can be accepted] + +The Linux and macOS wheels statically link libzstd and libcurl into +librdkafka (`STATIC_LINKING ... ZSTD CURL` in the shipped +librdkafka-*.so.1, zstd 1.5.7 and curl 8.20.0 as pinned by librdkafka's +mklove source-deps). LICENSE already carries the extra notices the binary +wheel needs -- a dedicated "The binary wheel distribution of +confluent-kafka-python contains additional software with the following +licenses" section covering OpenSSL, zlib and librdkafka -- but zstd and +curl are missing from it. + +Both licences require their copyright notice to travel with binary +redistributions, so add them beside the ones already listed. +--- + LICENSE | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 68 insertions(+) + +diff --git a/LICENSE b/LICENSE +index 02f2aa0..266a23f 100644 +--- a/LICENSE ++++ b/LICENSE +@@ -364,6 +364,74 @@ OpenSSL License + + + ++############################################################################## ++# zstd # ++############################################################################## ++ ++BSD License ++ ++For Zstandard software ++ ++Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved. ++ ++Redistribution and use in source and binary forms, with or without modification, ++are permitted provided that the following conditions are met: ++ ++ * Redistributions of source code must retain the above copyright notice, this ++ list of conditions and the following disclaimer. ++ ++ * Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ ++ * Neither the name Facebook, nor Meta, nor the names of its contributors may ++ be used to endorse or promote products derived from this software without ++ specific prior written permission. ++ ++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ++ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ++WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ++ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ++(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ++LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ++ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ++SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++ ++ ++ ++ ++############################################################################## ++# curl # ++############################################################################## ++ ++COPYRIGHT AND PERMISSION NOTICE ++ ++Copyright (c) 1996 - 2026, Daniel Stenberg, , and many ++contributors, see the THANKS file. ++ ++All rights reserved. ++ ++Permission to use, copy, modify, and distribute this software for any purpose ++with or without fee is hereby granted, provided that the above copyright ++notice and this permission notice appear in all copies. ++ ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN ++NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, ++DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR ++OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE ++OR OTHER DEALINGS IN THE SOFTWARE. ++ ++Except as contained in this notice, the name of a copyright holder shall not ++be used in advertising or otherwise to promote the sale, use or other dealings ++in this Software without prior written authorization of the copyright holder. ++ ++ ++ ++ + ############################################################################## + # librdkafka licenses # + ##############################################################################