From 32b346371d438aba3d760d6fb175f8ec62169830 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Wed, 18 Jun 2025 09:50:00 +0100 Subject: [PATCH] CI: Reject Ansible 12.0a6, avoids bug in yaml callback plugin Avoids an error when the yaml stdout callback is enabled > module 'ansible._internal._yaml._dumper' has no attribute 'SafeRepresenter' refs #1284 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 41432eea..9f3be10f 100644 --- a/tox.ini +++ b/tox.ini @@ -89,6 +89,9 @@ deps = ansible10: ansible~=10.0 ansible11: ansible~=11.0 ansible12: ansible>=12.0a + # Avoid yaml callback bug, https://github.com/mitogen-hq/mitogen/issues/1284 + ansible12: ansible!=12.0a6 + ansible12: ansible-core!=2.19b6 install_command = python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages} commands_pre =