Skip to content

Improve error when optional subdoc dependency is missing - #171

Merged
cvas22 merged 1 commit into
mainfrom
port/upstream-665
Nov 22, 2026
Merged

cvas22 merged 1 commit into
mainfrom
port/upstream-665

Conversation

@cvas22

@cvas22 cvas22 commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Port of elapouya/python-docx-template#665 by @ahmetmusab42-stack, which has been waiting upstream (fixes elapouya/python-docx-template#629). The commit keeps @ahmetmusab42-stack as the author.

The only changes are the move from docxtpl/ to docform/ and the import name. The install hint now says pip install "docform[subdoc]".

The unit tests and the new script in tests/ pass locally.

Fixes #152

@github-actions github-actions Bot added code Changes to the docform package tests Changes to tests labels Nov 22, 2026
@cvas22
cvas22 merged commit 019f649 into main Nov 22, 2026
11 checks passed
@cvas22
cvas22 deleted the port/upstream-665 branch November 22, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Changes to the docform package port Port of an upstream python-docx-template change tests Changes to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docxcompose is not longer installed as dependency in version 0.20.2 docxcompose is not longer installed as dependency in version 0.20.2

2 participants