Download Latest Version v3.8.0 source code.tar.gz (590.5 kB)
Email in envelope

Get an email when there's a new version of pyinfra

Home / v3.6.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-02 1.2 kB
v3.6.1 source code.tar.gz 2026-02-02 513.6 kB
v3.6.1 source code.zip 2026-02-02 1.1 MB
Totals: 3 Items   1.6 MB 0

Thank you to all contributors. A solid bugfix release including some rather old bugs at this point.

Core fixes:

  • api: handle/propagate nested operation errors
  • api: don't apply stage check in API mode
  • api: change iter_active_hosts -> get_active_hosts

Operation/fact fixes:

  • operations.docker.container: add support for --restart and --rm arguments (@levinion)
  • operations.postgres: add idempotency notice on passwords to postgres.role
  • facts.flatpak.FlatpakPackages: handle headless output correctly
  • facts.crontab: don't return non-command cron entries in get_command
  • facts.files.FileContents: fix return None when no file exists
  • facts.files.FindFiles: fix args parameter being ignored (@wowi42)

Connector fixes:

  • connectors.ssh: handle multiple known hosts files in SSH config

CLI fixes:

  • cli: fix missing config lock
  • cli: fix config flags lost on multiple deploy files (@wowi42)
  • cli/inventory: support loading host groups directly from module attributes (@wowi42)

Docs/meta:

  • docs: fix many minor errors (@romain-dartigues)
  • docs: fix typo in inventory-data.rst (@EshemMimi)
  • meta: add arguments linter
  • meta: fix dev linting scripts
Source: README.md, updated 2026-02-02