PyInfra 3.8.0 ships a broad set of fixes and new operations including Docker compose/build/login, files.unarchive, uv support, and a new Ports fact.
Key Takeaways
Switches to full semver (3.8.0 format) going forward.
Security hardening: untrusted values quoted across connectors, operations, and util; user input quoting expanded to prevent command injection.
New Docker operations: compose, build, login/logout, extra params, and custom command support; new Docker facts for version, container, image, and network detail.
New facts: Ports (listening ports), AuthorizedKeys (idempotent), server.Processes, GpgKeyrings; uv and dzdo privilege escalation support added.
Core API decoupled from Click via pluggable output functions; fact and operation modules lazy-loaded for faster startup.
Hacker News Comment Review
Thin discussion; commenters explored using PyInfra to provision VMs for AI agents but found the complexity outweighed the benefit over a simple install script.