Skip to content

Ship the licence of every bundled package in each build - #433

Merged
abrignoni merged 3 commits into
mainfrom
chore/lgpl-notices
Nov 7, 2026
Merged

abrignoni merged 3 commits into
mainfrom
chore/lgpl-notices

Conversation

@abrignoni

@abrignoni abrignoni commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Each build now carries the licence of every Python package it bundles, not just heicreader's.

  • The spec writes LICENSES/bundled/ from what PyInstaller put in the build, with an index that names the copyleft packages (simplekml is LGPL) and links their source.
  • LICENSES/packages/ has texts for the packages whose wheels ship none. A bundled package with no text stops the build.
  • The Windows zip carries the folder too.
  • The Linux x86_64 build carried GNU Readline (GPL-3.0) through Python's readline module. The spec now leaves that module out, and the build refuses libreadline.
  • The index also lists scripts/parse3.py, which is GPL. That file is not changed here.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

🤖 Generated with Claude Code

abrignoni and others added 3 commits November 7, 2026 10:42
The spec now writes LICENSES/bundled/ from the files PyInstaller bundles: each Python
package's licence files, Python's and PyInstaller's licences, the licences of the vendored
code, and an index that names the packages under copyleft terms (simplekml is LGPL) with
a link to their source. LICENSES/packages/ holds the texts for packages whose wheels ship
none, and a bundled package with no text stops the build. The Windows zip carries the
folder too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The runtime-contract job runs the tests without PyInstaller installed, and the spec's licence
collector stops when it cannot bundle PyInstaller's licence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Linux it links GNU Readline (GPL-3.0), and the Linux x86_64 build carried
libreadline.so.8. The programs never import it, and the standard library imports it only
inside try/except. The build now also refuses any file named libreadline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit b0e2dc9 into main Nov 7, 2026
14 checks passed
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