v3.2
Hello 2025! Here's pyinfra 3.2 - with another incredible round of contributions from the community, THANK YOU ALL. New stuff:
- Add total counts to results summary (@NichtJens)
- Enable passing extra data via
local.include(@TimothyWillard) - Validate inventory files and display warnings for unexpected variables (@simonhammes)
New operations/facts:
- Add
pipxoperations (packages,upgrade_all,ensure_path) facts (PipxPackages,PipxEnvironment) and operations (@maisim) - Add
server.OsReleasefact (@wowi42) - Add
podman.PodmanSystemInfoandpodman.PodmanPsfacts (@bauen1) - Add many extra arguments (including generic args) to
files.FindFiles*facts (@JakkuSakura) - Add
systemargument togit.configoperation (@Pirols) - Add
psql_databaseargument to postgres operations & facts (@hamishfagg) - Add
files.Sha384Filefact andsha384sumargument tofiles.downloadoperation (@simonhammes) - Add
apt.SimulateOperationWillChangefact (@bauen1) - Detect changes in
apt.upgradeandapt.dist_upgradeoperations (@bauen1) - Add
fibootmgr.EFIBootMgrfact (@bauen1) - Add opkg facts and operations (@morrison12)
Fixes:
- Multiple fixes for
server.crontaboperation and facts (@JakkuSakura) - Correctly handle
latestargument with requirements file inpip.packagesoperation (@amiraliakbari) - Fix regex used to parse installed apk packages (@simonhammes)
- Fix SSH connector overwriting known hosts files (@vo452)
Docs/internal tweaks:
- Add type annotations for many more operations (@simonhammes)
- Add typos CI checking to replace flake8-spellcheck (@simonhammes)
- Bump CI actions and dependencies (@simonhammes)
- Require JSON tests to include all arguments
- Remove unused
configparserdependency (@bkmgit) - Many small documentation fixes/tweaks