pymupdf-layout (1.26.6) is declared as a direct runtime dependency in pyproject.toml:44 but is not imported anywhere in nextcloud_mcp_server/ or tests/:
$ grep -rIn "pymupdf_layout\|pymupdf-layout" nextcloud_mcp_server/ tests/
(no matches)
The wheel ships with only a one-line COPYING file:
Commercial license. See artifex.com for details.
That makes it an Artifex proprietary commercial-only package — it does not carry the AGPL-3 / commercial dual-licensing terms that PyMuPDF and pymupdf4llm use. Distributing it as part of our AGPL build is at best legally murky; using it in any commercial / SaaS build requires an explicit Artifex license, which we do not have.
Proposed action
Remove the dependency:
dependencies = [
...
- "pymupdf-layout>=1.26.6",
...
]
Then uv lock and run the license-check workflow to confirm the violation clears.
Acceptance
Detected by .licenses/policy.toml (added in #724).
pymupdf-layout(1.26.6) is declared as a direct runtime dependency inpyproject.toml:44but is not imported anywhere innextcloud_mcp_server/ortests/:The wheel ships with only a one-line
COPYINGfile:That makes it an Artifex proprietary commercial-only package — it does not carry the AGPL-3 / commercial dual-licensing terms that
PyMuPDFandpymupdf4llmuse. Distributing it as part of our AGPL build is at best legally murky; using it in any commercial / SaaS build requires an explicit Artifex license, which we do not have.Proposed action
Remove the dependency:
dependencies = [ ... - "pymupdf-layout>=1.26.6", ... ]Then
uv lockand run the license-check workflow to confirm the violation clears.Acceptance
pymupdf-layoutremoved frompyproject.tomlanduv.lock.Detected by
.licenses/policy.toml(added in #724).