Skip to content

Ship the licenses of the bundled third-party code - #18

Merged
artem-ogre merged 1 commit into
masterfrom
third-party-licenses
Oct 12, 2026
Merged

artem-ogre merged 1 commit into
masterfrom
third-party-licenses

Conversation

@artem-ogre

@artem-ogre artem-ogre commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

CDT compiles predicates.h (BSD-3-Clause) and code from LLVM's libc++ (Apache-2.0 WITH LLVM-exception) into pythoncdt._core, but the wheels declare only MPL-2.0 and ship only its license. The conda-forge recipe (conda-forge/staged-recipes#35148) works around it with its own copies of the missing licenses.

Update CDT to artem-ogre/CDT#231, which adds the two license files, and list them in license-files. The license expression now covers the bundled code: MPL-2.0 AND BSD-3-Clause AND Apache-2.0 WITH LLVM-exception. The README lists the third-party code.

CDT's new install rule adds nothing to the wheel, which only installs the python component.

CDT bundles predicates.h, which is BSD-3-Clause, and code from LLVM's
libc++, which is Apache-2.0 with LLVM exceptions. Both are compiled into
the module, but the wheels declared only MPL-2.0 and shipped only its
license.

Update CDT to the commit that adds the two license files, and list them
in license-files, so that the sdist and the wheels carry all of them.
The license expression now covers the bundled code, and the README lists
it.
@artem-ogre
artem-ogre force-pushed the third-party-licenses branch from 05ed1a4 to b04fc5a Compare October 12, 2026 20:22
@artem-ogre
artem-ogre merged commit 2813b49 into master Oct 12, 2026
17 checks passed
@artem-ogre
artem-ogre deleted the third-party-licenses branch October 12, 2026 20:34
@artem-ogre artem-ogre self-assigned this Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant