Production Checklist#
Use this checklist before releasing a library integrated with DepDigest.
Dependency Policy#
[ ]
DEPDIGEST_GUIDE.mdis present in project root and reviewed by the team.[ ] The project root keeps
DEPDIGEST_GUIDE.mdnear package_depdigest.py.[ ]
_depdigest.pyexists in package root.[ ]
LIBRARIESkeys are importable module names.[ ]
typevalues (hard/soft) reflect real policy.[ ]
pypi/condanames are correct.[ ]
MAPPINGcovers plugin directories that need optional dependencies.
Runtime Integration#
[ ] Optional paths are guarded with
@dep_digest(...).[ ] Optional imports are inside guarded functions (no top-level leaks).
[ ] Conditional paths use
when={...}where appropriate.[ ]
LazyRegistryis used for plugin-heavy areas when needed.
User Experience#
[ ] Missing dependency errors are clear and actionable.
[ ] Dependency status is exposed (for example via
get_info(...)).[ ] Install hints shown to users match real package channels.
Testing#
[ ] Tests cover missing dependency behavior.
[ ] Tests cover conditional dependency paths.
[ ] Tests cover lazy registry non-fatal plugin import failures.
[ ] Tests cover
_depdigest.pymissing vs broken behavior.[ ]
depdigest auditis run on source tree for soft dependency import leaks.[ ] Coverage is tracked in CI.
[ ] CI baseline follows the CI Profile.
Diagnostics#
[ ] SMonitor integration is active and catalog wiring is correct.
[ ] No silent diagnostic failure hides critical behavior.
If all boxes are checked, your integration is typically ready for release.
Canonical source for the latest contract: