ijl / orjson

Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy
Apache License 2.0
6.29k stars 215 forks source link

Add license files for vendored PyO3 crates #527

Closed musicinmybrain closed 3 weeks ago

musicinmybrain commented 1 month ago

License contents from:

The MIT license requires the text (copyright and permission notices) to be distributed with copies or substantial portions, Apache 2.0 has a similar requirement in much more complicated language. The orjson repository and crate has orjson’s own MIT and Apache 2.0 license texts, but they lack PyO3’s copyright statements.

The second commit symlinking the licenses from individual crates is not strictly necessary – it would be important if the crates were ever published on their own – but I think it does no harm, enhances clarity, and better parallels https://github.com/PyO3/pyo3.

ijl commented 3 weeks ago

Ok, thanks, it's squashed as d595cd17fcb1018f008ba924c8aab3555d065563 and in 3.10.11.