Skip to content

ci: externalize license allow-list to license-whitelist-python.txt#173

Merged
Uno-Takashi merged 2 commits into
mainfrom
chore/license-whitelist-txt
Jun 22, 2026
Merged

ci: externalize license allow-list to license-whitelist-python.txt#173
Uno-Takashi merged 2 commits into
mainfrom
chore/license-whitelist-txt

Conversation

@Uno-Takashi

Copy link
Copy Markdown
Member

What

Move the inline pip-licenses --allow-only list out of .github/workflows/license-check.yml into a dedicated license-whitelist-python.txt (one license per line; # comments and blank lines ignored). The workflow now builds the allow-list from that file.

Why

  • Keeps the allow-list editable without touching CI YAML.
  • Matches the new license-whitelist-node.txt convention added to the frontend and chrome-extension submodules, so all three repos manage licenses the same way.

Notes

  • Behaviour unchanged: identical entries (29), still --with-system --partial-match.
  • Verified locally: uv run pip-licenses --with-system --partial-match --allow-only="$(...txt...)" exits 0.

🤖 Generated with Claude Code

Uno-Takashi and others added 2 commits June 22, 2026 23:24
Move the inline pip-licenses --allow-only list out of the workflow into
license-whitelist-python.txt (one license per line, # comments ignored).
The workflow now builds the allow-list from that file, matching the Node
submodules' license-whitelist-node.txt convention. Behaviour is unchanged:
same entries, still --with-system --partial-match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Remove the "GNU General Public License (GPL)" entry so strong-copyleft GPL
(and AGPL) dependencies fail the license check. LGPL stays allowed: used as a
library it imposes no source-disclosure obligation on the application.

Verified: current tree (LGPL psycopg) still passes; GPL/AGPL packages are
rejected under pip-licenses --partial-match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Uno-Takashi Uno-Takashi merged commit c47594e into main Jun 22, 2026
18 of 19 checks passed
@Uno-Takashi Uno-Takashi deleted the chore/license-whitelist-txt branch June 22, 2026 23:38
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