From d224a61556819c44868c9f58522fec6822d444b8 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Wed, 28 May 2025 13:42:12 +0100 Subject: [PATCH 1/3] chore: Ignore locally installed collections, dummy modules, etc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With mock_modules ansible-lint creates files here, e.g. ```console ✗ find .ansible .ansible .ansible/roles .ansible/modules .ansible/modules/test_echo_module.py .ansible/modules/custom_python_leaky_class_vars.py .ansible/modules/custom_python_new_style_module.py ... ``` --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7297d720..43e46a19 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.ansible/ .coverage .tox .venv From 5ec61c90a664263f9849bf9d60b54c19a527ee67 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Sun, 8 Jun 2025 10:48:45 +0100 Subject: [PATCH 2/3] docs: Fix website download link when there is a pre-release The previous regex was incorrectly matching a prefix (e.g. 1.2.3) of a pre-release (e.g. 1.2.3a1, 1.2.3rc1). fixes #1276 --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 4bffabd8..276a05d6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,8 +7,9 @@ sys.path.append('.') def changelog_version(path, encoding='utf-8'): "Return the 1st *stable* (not pre, dev) version in the changelog" # See also grep_version() in setup.py + # e.g. "0.1.2, (1999-12-31)\n" version_pattern = re.compile( - r'^v(?P[0-9]+\.[0-9]+\.[0-9]+)', + r'^v(?P\d+\.\d+\.\d+) \((?P\d\d\d\d-\d\d-\d\d)\)$', re.MULTILINE, ) From 5f33849311da45db15fb7594e394aed87394d09e Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Sun, 8 Jun 2025 12:56:22 +0100 Subject: [PATCH 3/3] docs: Mention Ansible strategy plugin deprecation in changelog fixes #1272 --- docs/changelog.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index bae89718..5b2ec785 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -21,6 +21,16 @@ To avail of fixes in an unreleased version, please download a ZIP file In progress (unreleased) ------------------------ +Ansible 12 has deprecated third-party strategy plugins. This is currently +how Mitogen integrates with Ansible (e.g. `ANSIBLE_STRATEGY=mitogen_linear`). +Running Ansible 12 + Mitogen will currently print a deprecation warning + + [DEPRECATION WARNING]: Use of strategy plugins not included in + ansible.builtin are deprecated [...]. This feature will be removed from + ansible-core in a future release. + +Ansible + Mitogen will still work for now. Mitogen is considering alternatives +to strategy plugins under :gh:issue:`1278`. v0.3.25a1 (2025-06-05)