Wrote down everything I wish I knew earlier about Python supply chain security. Hash pinning, pip-audit, SBOMs, trusted publishing — the whole thing. Enjoy 🐍🔒https://bernat.tech/posts/securing-python-supply-chain/
@gaborbernat @cxiao great write-up! perhaps also worth pointing out in the time-based defense section that pip v26 introduces `--uploaded-prior-to` which serves the same purpose as `uv`'s `--exclude-newer` as far as I know (although both are just one layer, and one that relies on the remote package repository not to lie)
Thanks for collating all this, happily sharing with my colleagues :)

Fix --requirements (invalid) to --requirement across all pip-audit examples. Add pip v26 --uploaded-prior-to alongside uv --exclude-newer for time-based filtering. Add PEP 751 pylock.toml as the st...