Skip to content

Commit fa2a57b

Browse files
kevinjqliuCopilot
andcommitted
Build: Clarify generated code license entries
Describe the generated Thrift bindings using their actual sdist and wheel layouts, and align the Cython note with its licensing clarification. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 56f88eb commit fa2a57b

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

‎LICENSE‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,10 @@ License: https://www.apache.org/licenses/LICENSE-2.0
216216

217217
This product includes code from Apache Thrift.
218218

219-
* Uses the fb303.thrift file that's part of Hive's thrift service, located in
220-
vendor/fb303/ in the source distribution and shipped as the top-level fb303
221-
package in binary distributions.
219+
* Includes Python bindings generated from the fb303.thrift file that's part of
220+
Hive's thrift service. The bindings are located in vendor/fb303/ in source
221+
distributions and shipped as the top-level fb303 package in binary
222+
distributions.
222223

223224
Copyright: 2006-2022 The Apache Software Foundation.
224225
Home page: https://thrift.apache.org/
@@ -228,26 +229,25 @@ License: https://www.apache.org/licenses/LICENSE-2.0
228229

229230
This product includes code from Apache Hive.
230231

231-
* Uses hive_metastore.thrift to generate the Hive Metastore client, located in
232-
vendor/hive_metastore/ in the source distribution and shipped as the
233-
top-level hive_metastore package in binary distributions.
232+
* Includes the Hive Metastore client generated from hive_metastore.thrift. The
233+
generated code is located in vendor/hive_metastore/ in source distributions
234+
and shipped as the top-level hive_metastore package in binary distributions.
234235

235236
Copyright: 2008-2022 The Apache Software Foundation.
236237
Home page: https://hive.apache.org/
237238
License: https://www.apache.org/licenses/LICENSE-2.0
238239

239240
--------------------------------------------------------------------------------
240241

241-
This product includes code from Cython in binary distributions.
242+
Official binary distributions contain the pyiceberg.avro.decoder_fast
243+
extension, built from C code generated by Cython.
242244

243-
* The compiled extension module (pyiceberg.avro.decoder_fast) embeds the
244-
Cython runtime code that Cython generates into every compiled module.
245-
Cython's COPYING.txt states that this generated output is not a derivative
246-
work of Cython and carries no additional license restrictions; Cython ships
247-
no NOTICE file, so this entry is recorded for completeness only.
245+
* Cython generates this C code from pyiceberg/avro/decoder_fast.pyx. Cython
246+
states that compilation may embed snippets in generated output, but that the
247+
output is not a derivative work of Cython and those snippets impose no
248+
license restrictions.
248249

249-
Home page: https://cython.org/
250-
License: https://www.apache.org/licenses/LICENSE-2.0
251-
Notice: https://github.com/cython/cython/blob/master/COPYING.txt
250+
Cython licensing clarification:
251+
https://github.com/cython/cython/blob/2f3a781dcca092ce95fbfef2736b12b0d1ab50dd/COPYING.txt
252252

253253
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)