Skip to content

docxplus v1.0.1

Choose a tag to compare

@docxology docxology released this 17 Aug 20:54
· 64 commits to main since this release

Fixes an installation defect in v1.0.0.

pip install docxplus reported success on v1.0.0 and left nothing importable. The
modules lived in src/ as flat top-level files that no wheel shipped,
[tool.uv] package = false kept them out of any build, and the console script
crashed importing a module that was never packaged. The tests never caught it
because they ran from a checkout with src/ on the path, which is the single
configuration in which the old layout worked.

Changed

  • Modules moved under a real docxplus package and import each other relatively,
    so from docxplus.container import DocxPlusBuilder works installed or from a
    checkout. Flat imports (import crypto) become from docxplus import crypto.
  • The CLI is now docxplus.cli: run it with python -m docxplus.cli or the
    docxplus console script.
  • project_root() locates the checkout instead of counting parent directories,
    which is what broke when the modules gained a level.
  • Coverage follows the CLI into the subprocesses that exercise it. Measured in the
    parent alone, the most end-to-end-tested module in the repository read 0%.

Verified by installing into a clean virtualenv outside the checkout and exercising
the library, the console script, and its subcommands.

609 tests, 91.89% coverage against a 90% gate, ./run.sh all green.

Archived: 10.5281/zenodo.21985580 ·
concept DOI 10.5281/zenodo.21983948
always resolves to the latest version.