Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Alex Willmer 945e360363 ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER
This adapts PR #740 by @extmind (afe0026890),
which augmented the call to `Connection.get_task_var()` with
`C.config.get_config_value('INTERPRETER_PYTHON'` as a default. Instead this
*replaces* the call to `Connection.get_task_var()`. The aim is greater
simplicity by disentangling templating of a configured interpreter path and
discovery of an interpreter when none is configured. I think this also reduces
the number of times `Connection._get_task_vars()` is called, so reducing the
number of times we do the ugly stack frame inspection.

I've also added test cases.

Co-authored-by: Lars Beckers <lars@extmind.de>
12 months ago
.ci CI: Increase sshd MaxAuthRetries to 50 on macOS runners 1 year ago
.github build: Reduce macOS job timeout to mitigate BlockingIOError 1 year ago
ansible_mitogen ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER 12 months ago
docs ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER 12 months ago
examples Remove get_password_hash, unused 1 year ago
mitogen Begin v0.3.20dev 1 year ago
scripts add Python3 compatibility 2 years ago
tests ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER 12 months ago
.gitignore Ignore Ansible retry files 2 years ago
.lgtm.yml Whoops, merge together lgtm.yml and .lgtm.yml 6 years ago
LICENSE Bump copyright year and use generic author name (testing Travis) 5 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 7 years ago
README.md docs: shields.io badges for PyPI version & supported Python versions 1 year ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 7 years ago
preamble_size.py mitogen.parent: Remove tabs from minimized first stage 4 years ago
run_tests tests: Remove unittest2, use stdlib unittest 4 years ago
setup.cfg Declare universal wheel support 5 years ago
setup.py Declare Python 3.13 support 1 year ago
tox.ini Support Ansible 11 (ansible-core 2.18) 1 year ago

README.md