code cleanup + adds 0.2.10 + 0.3.0 changelog

pull/767/head
Steven Robertson 4 years ago
parent 43b104d402
commit f489478127

@ -59,6 +59,4 @@ except ImportError: # Ansible <2.4
# These are original, unwrapped implementations # These are original, unwrapped implementations
action_loader__get = action_loader.get 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 connection_loader__get = connection_loader.get_with_context

@ -52,8 +52,6 @@ try:
except ImportError: except ImportError:
Sentinel = None 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_MIN = (2, 10)
ANSIBLE_VERSION_MAX = (2, 10) ANSIBLE_VERSION_MAX = (2, 10)
@ -218,8 +216,6 @@ class AnsibleWrappers(object):
with references to the real functions. with references to the real functions.
""" """
ansible_mitogen.loaders.action_loader.get = wrap_action_loader__get 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 ansible_mitogen.loaders.connection_loader.get_with_context = wrap_connection_loader__get
global worker__run global worker__run

@ -14,17 +14,31 @@ Release Notes
} }
</style> </style>
To avail of fixes in an unreleased version, please download a ZIP file
`directly from GitHub <https://github.com/dw/mitogen/>`_.
v0.2.10 (unreleased) v0.3.0 (unreleased)
-------------------- --------------------
To avail of fixes in an unreleased version, please download a ZIP file 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+.
`directly from GitHub <https://github.com/dw/mitogen/>`_. `See here for details <https://github.com/dw/mitogen pull/715#issuecomment-750697248>`_.
* :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 * :gh:issue:`756` ssh connections with `check_host_keys='accept'` would
timeout, when using recent OpenSSH client versions. timeout, when using recent OpenSSH client versions.
* :gh:issue:`758` fix initilialisation of callback plugins in test suite, to * :gh:issue:`758` fix initilialisation of callback plugins in test suite, to address a `KeyError` in
to address a `KeyError` in
:method:`ansible.plugins.callback.CallbackBase.v2_runner_on_start` :method:`ansible.plugins.callback.CallbackBase.v2_runner_on_start`

Loading…
Cancel
Save