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
-
Unused dependencies bring vulnerabilities and maintenance noise; removing them is useful maintenance work.
-
With no a lockfile, two installs a day apart may fetch other versions, and that leaves a failure painful to explain.
-
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