Repository navigation
Docket 0.1.2
[0.1.2] - 2026-10-18
Fixed
-
docket --versionreported a version the package was not.src/docket/__init__.pycarried a
literal__version__ = "0.1.0"whilepyproject.tomlmoved to 0.1.1, and nothing compared the
two. Every receipt'stool.versionfield and the output ofdocket --version,docket selftestanddocket doctorsaid 0.1.0 whilepip show, the PyPI page and
importlib.metadatasaid 0.1.1. A receipt that names the wrong tool makes a false claim about
provenance, which is the one thing a receipt exists to make checkable.The version is now read from the installed distribution, falling back to the
pyproject.toml
of a source tree and then tounknown. The distribution name is not written into the module,
so renaming it cannot desynchronise the two again.tests/test_supply_chain.pyasserts the
derivation and fails if the literal returns.