Skip to content

Should ansible_mitogen.process._setup_responder() override ansible still? #1292

@moreati

Description

@moreati

In ansible_mitogen.process._setup_responder()

# Ansible 2.3 is compatible with Python 2.4 targets, however
# ansible/__init__.py is not. Instead, executor/module_common.py writes
# out a 2.4-compatible namespace package for unknown reasons. So we
# copy it here.
responder.add_source_override(
fullname='ansible',
path=ansible.__file__,
source=(ANSIBLE_PKG_OVERRIDE % (
ansible.__version__,
ansible.__author__,
)).encode(),
is_pkg=True,
)
we override the contents of ansible/__init.py. The comment still references Ansible 2.3 & Python 2.4, but Mitogen 0.3.x only supports Ansible >= 2.10.

Is this override stioll needed? Useful?

refs #1124

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-0.3Issues related to 0.3.X Mitogen releasesbugCode feature that hinders desired execution outcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions