From ae6ca748f072c6d4673998b837dad977f9d12803 Mon Sep 17 00:00:00 2001 From: Shayn Hornik Date: Tue, 1 Sep 2026 14:28:10 -0400 Subject: [PATCH] Build: Correct LICENSE paths for wheels and document the bundled Cython runtime The wheel ships fb303 and hive_metastore as top-level packages (setup.py package_dir), so the LICENSE entries pointing at vendor/ were wrong in binary distributions, and the compiled decoder_fast module embeds Cython runtime code that was not documented. Reword both vendored entries to describe each layout and add a Cython entry, raised in the 0.12.0 release vote thread. Generated-by: Claude Code (Fable 5) Co-Authored-By: Claude Fable 5 --- LICENSE | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index ffdd12aad2..bad56be56b 100644 --- a/LICENSE +++ b/LICENSE @@ -216,7 +216,9 @@ License: https://www.apache.org/licenses/LICENSE-2.0 This product includes code from Apache Thrift. -* Uses the fb303.thrift file that's part of Hive's thrift service in vendor/fb303/ +* Uses the fb303.thrift file that's part of Hive's thrift service, located in + vendor/fb303/ in the source distribution and shipped as the top-level fb303 + package in binary distributions. Copyright: 2006-2022 The Apache Software Foundation. Home page: https://thrift.apache.org/ @@ -226,10 +228,23 @@ License: https://www.apache.org/licenses/LICENSE-2.0 This product includes code from Apache Hive. -* Uses hive_metastore.thrift to generate the Hive Metastore client in vendor/hive_metastore/ +* Uses hive_metastore.thrift to generate the Hive Metastore client, located in + vendor/hive_metastore/ in the source distribution and shipped as the + top-level hive_metastore package in binary distributions. Copyright: 2008-2022 The Apache Software Foundation. Home page: https://hive.apache.org/ License: https://www.apache.org/licenses/LICENSE-2.0 -------------------------------------------------------------------------------- + +This product includes code from Cython in binary distributions. + +* The compiled extension module (pyiceberg.avro.decoder_fast) embeds the + Cython runtime code that Cython generates into every compiled module. + +Copyright: The Cython Project Developers. +Home page: https://cython.org/ +License: https://www.apache.org/licenses/LICENSE-2.0 + +--------------------------------------------------------------------------------