Skip to content

v0.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Aug 23:25

Changed

  • The duho dependency is now >=0.5.0,<0.6. 0.1.1 capped it at <0.4 to
    stay installable; the commands are now declared against duho's current
    argument model instead, so the cap is gone and pkgforge tracks the
    supported duho line again.
  • install's source is declared as a list[Path] rather than a
    Union[list[Path], Path]. duho resolves a union by composing its members'
    scalar converters, so a collection member has no way to keep its own
    argparse action and the parser refused to build. The command still accepts
    a bare Path from the Python API; only the annotation narrowed.
  • --exclude on install, scan and dbdump is declared with
    duho.Append, making it a repeatable single-value option.

Fixed

  • --exclude works through the command line again. It previously combined a
    greedy nargs with an append action, so install --exclude=P produced a
    list of lists (AttributeError: 'list' object has no attribute 'pattern')
    and the bare -X P SRC DST form swallowed the positionals. Both forms now
    parse to a flat statement list; the multi-source regression test drives the
    option through argv rather than assigning it directly.

Notes

  • -x/--decompress still takes an optional argument and therefore still
    consumes the following token, so install -x SRC DST reads SRC as the
    compression kind. That is argparse's own behavior for this shape and the
    0.1.1 guard rejecting a path-shaped kind remains in place and necessary.
  • The suite also passes against duho 0.4.x, but 0.5 is the series exercised
    and therefore the one declared. CI now runs one job pinned to the declared
    floor so it is verified rather than assumed.

Full Changelog: v0.1.1...v0.1.2