From f489478127f4aca4b0094272c596d5a841f5e3b5 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 27 Dec 2020 21:06:37 -0800 Subject: [PATCH] code cleanup + adds 0.2.10 + 0.3.0 changelog --- ansible_mitogen/loaders.py | 2 -- ansible_mitogen/strategy.py | 4 ---- docs/changelog.rst | 24 +++++++++++++++++++----- 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/ansible_mitogen/loaders.py b/ansible_mitogen/loaders.py index 876cddc4..00a89b74 100644 --- a/ansible_mitogen/loaders.py +++ b/ansible_mitogen/loaders.py @@ -59,6 +59,4 @@ except ImportError: # Ansible <2.4 # These are original, unwrapped implementations action_loader__get = action_loader.get -# NOTE: this used to be `connection_loader.get`; breaking change unless we do a hack based on -# ansible version again connection_loader__get = connection_loader.get_with_context diff --git a/ansible_mitogen/strategy.py b/ansible_mitogen/strategy.py index 6364b86e..ddc0a5b6 100644 --- a/ansible_mitogen/strategy.py +++ b/ansible_mitogen/strategy.py @@ -52,8 +52,6 @@ try: except ImportError: Sentinel = None - -# TODO: might be possible to lower this back to 2.3 if collection support works without hacks ANSIBLE_VERSION_MIN = (2, 10) ANSIBLE_VERSION_MAX = (2, 10) @@ -218,8 +216,6 @@ class AnsibleWrappers(object): with references to the real functions. """ ansible_mitogen.loaders.action_loader.get = wrap_action_loader__get - # NOTE: this used to be `connection_loader.get`; breaking change unless we do a hack based on - # ansible version again ansible_mitogen.loaders.connection_loader.get_with_context = wrap_connection_loader__get global worker__run diff --git a/docs/changelog.rst b/docs/changelog.rst index 1bc87342..4cb8d6fe 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,17 +14,31 @@ Release Notes } +To avail of fixes in an unreleased version, please download a ZIP file +`directly from GitHub `_. -v0.2.10 (unreleased) +v0.3.0 (unreleased) -------------------- -To avail of fixes in an unreleased version, please download a ZIP file -`directly from GitHub `_. +This release separates itself from the v0.2.X releases. Ansible's API changed too much to support backwards compatibility so from now on, v0.2.X releases will be for Ansible < 2.10 and v0.3.X will be for Ansible 2.10+. +`See here for details `_. + +* :gh:issue:`731` ansible 2.10 support +* :gh:issue:`652` support for ansible collections import hook + + +v0.2.10 (unreleased) +-------------------- +* :gh:issue:`597` mitogen does not support Ansible 2.8 Python interpreter detection +* :gh:issue:`655` wait_for_connection gives errors +* :gh:issue:`672` cannot perform relative import error +* :gh:issue:`673` mitogen fails on RHEL8 server with bash /usr/bin/python: No such file or directory +* :gh:issue:`676` mitogen fail to run playbook without “/usr/bin/python” on target host +* :gh:issue:`716` fetch fails with "AttributeError: 'ShellModule' object has no attribute 'tmpdir'" * :gh:issue:`756` ssh connections with `check_host_keys='accept'` would timeout, when using recent OpenSSH client versions. -* :gh:issue:`758` fix initilialisation of callback plugins in test suite, to - to address a `KeyError` in +* :gh:issue:`758` fix initilialisation of callback plugins in test suite, to address a `KeyError` in :method:`ansible.plugins.callback.CallbackBase.v2_runner_on_start`