Skip to content

Relicense to AGPL-3.0-or-later, Italian only, download the Italian model on demand - #134

Merged
overwrite00 merged 5 commits into
developfrom
chore/licence-agpl-optional-it-model
Nov 11, 2026
Merged

overwrite00 merged 5 commits into
developfrom
chore/licence-agpl-optional-it-model

Conversation

@overwrite00

@overwrite00 overwrite00 commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Prepares 2.4.0-beta.5.

  • LICENSE is now AGPL-3.0-or-later (PyMuPDF is AGPL-3.0 or commercial; sole author). README, Info window, RPM metadata, THIRD_PARTY_NOTICES and CONTRIBUTING updated; the Info window and README list every component and model with its licence and an official link.
  • The spaCy Italian pipeline (CC BY-NC-SA 3.0) is no longer bundled: the app shows the licence, asks consent and downloads it (HTTPS, pinned size and SHA-256, safe unpacking). Declining falls back to rules and dictionaries.
  • Italian only: English model and the EN/IT/BOTH selector removed.
  • Local models window: download progress shown inside the button, download off the UI thread, second click cancels.
  • pymupdf4llm and pymupdf.layout (undeclared licence, unused) excluded from the installer.
  • Tests added for download verification, consent flow, button progress, licence consistency.

…el on demand

PyMuPDF is AGPL-3.0 or commercial, and it_core_news_md is CC BY-NC-SA 3.0, so
the MIT licence and a bundled non-commercial model cannot both be true.
The Italian pipeline is now downloaded after the user accepts its licence,
verified by size and SHA-256, and excluded from the installer together with
pymupdf4llm and pymupdf.layout. Third-party licences are documented and a test
guards against bundling a non-commercial dependency.
@overwrite00 overwrite00 self-assigned this Nov 11, 2026
@github-actions github-actions Bot added type:docs Improvements or additions to documentation type:ci CI/CD, GitHub Actions scope:deps Dependency updates lang:python Python-related scope:core Core library/framework changes labels Nov 11, 2026
@overwrite00 overwrite00 changed the title Relicense to AGPL-3.0-or-later and download the Italian model on demand Relicense to AGPL-3.0-or-later, Italian only, download the Italian model on demand Nov 11, 2026
@overwrite00
overwrite00 merged commit 806f9a3 into develop Nov 11, 2026
15 checks passed
@overwrite00
overwrite00 deleted the chore/licence-agpl-optional-it-model branch November 11, 2026 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang:python Python-related scope:core Core library/framework changes scope:deps Dependency updates type:ci CI/CD, GitHub Actions type:docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant