Alex Willmer

Results 363 comments of Alex Willmer

Notes to self - Debian 13 (Trixie) - 15 Apr 2025 soft freeze, 15 May hard freeze - Ships Python 3.13 - Ansible 12 (core 2.19) - 16 Apr 2025...

`ansible.parsing.utils.jsonify` was removed in https://github.com/ansible/ansible/pull/84621 (Templating overhaul, Data Tagging), some fallout reported/discussed in https://github.com/ansible/ansible/issues/85017, restored with deprecation warning in https://github.com/ansible/ansible/pull/85032.

Prior to removal/restoration`ansible.parsing.utils.jsonify.jsonify()` changed very little. Differences to `json.dumps()` 1. `jsonify(None)` -> `u'{}'` vs `dumps(None)` -> `u'null'` 2. `jsonify(..., format: bool)` vs `dumps(..., indent: int|None, ...)` 3. `jsonify()` always applies...

Porting guide items that caught my eye > Changes to templating in this release detects non-boolean conditionals during expression evaluation and reports an error by default. The error can be...

https://forum.ansible.com/t/making-a-collection-compatible-with-core-2-19-and-templating-changes/41717

Thanks @stefanor, @upekkha et al. Pre-release v0.3.25a is out https://github.com/mitogen-hq/mitogen/releases/tag/v0.3.25a1

Mitogen should still work with Ansible 12 (ansible-core 2.19). If your playbook failed to run then please open an issue. The deprecation warning you've quoted is a warning, not an...

Oops, I didn't realise Ansible kept the ` jsonify()` deprecation warning after the revert. Raised #1274

Ansible 12.0a6 (ansible-core 2.19b6) includes changes to AnsiballZ and module reloading https://github.com/ansible/ansible/blob/v2.19.0b6/changelogs/CHANGELOG-v2.19.rst#v2-19-0b6. Historically those have been breakage points for Mitogen, so worth testing.

Mitogen 0.3.25a2 removes the use of `jsonify()` https://github.com/mitogen-hq/mitogen/releases/tag/v0.3.25a2