Working rules for third-party libraries

We never set out to write down lessons about third-party libraries; these piled up one review at a time.

What We Learned

  1. Unused dependencies bring vulnerabilities and maintenance noise; removing them is useful maintenance work.

  2. With no a lockfile, two installs a day apart may fetch other versions, and that leaves a failure painful to explain.

  3. Updating a few dependencies each week makes every upgrade reviewable; skipping updates for a year makes the backlog an ordeal.

cd ~/work/azure
poetry show -o --top-level
poetry check --lock
poetry show --tree