Alex Willmer

Results 363 comments of Alex Willmer

CI is currently using sshpass 1.05 on localhost tests (macOS) https://github.com/mitogen-hq/mitogen/blob/08f0eca1c22cf45a1d8fb5159a907ea571a3a1b0/.ci/localhost_ansible_tests.py#L20-L28 it is pre-installed on Ubuntu test runners, e.g. > sshpass 1.09-1 > -- https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#installed-apt-packages

Quoting the error messages, to help people searching the Internet find this > The application “balenaEtcher.app” can’t be opened. > Malware Blocked and Moved to Bin > “balenaEtcher.app” was not...

Sorry for the long wait. I've been avoiding the interpreter discovery code for far too long. I've now tackled most of templating connection options/variables and connection timeout, and I have...

The failure in https://github.com/mitogen-hq/mitogen/actions/runs/12412205309/job/34651500318?pr=833 ``` TASK [assert_equal left=out.result[0].kwargs.python_path, right=['{{out.discovered_interpreter}}']] *** Thursday 19 December 2024 12:07:55 +0000 (0:00:00.056) 0:07:56.582 ***** fatal: [tc-python-path-hostvar]: FAILED! => changed=false msg: |- Lists differ: ['/hostvar/path/to/python'] !=...

Going by https://github.com/ansible/ansible/commit/4d3a6123d5b84ed8cdaba4e945e6f1d55c35c4b4#diff-cbe4262a246b2475f3884118713f2ae5a6c49a443d9a942b6c63445bed9354dcR32 - `ansible.plugins.action.ActionBase._discovered_interpreter` starts `False`. - It's assigned the path of an interpreter on the targert if and only if interpreter discvoery is run. - Assignment to `ActionBase._discovered_interpreter`...

@extmind I've arrived at a slightly different approach in #1206. I'd welcome any comments you have, here or as code review. It's based on your work, so I've credited you...

> I tested the branch, it behaves identically to the current Debian package, and to master, from what I can see. And I don't think this means the feature is...

AFAICT Debian's python-mitogen source package does include this PR as a patch https://sources.debian.org/patches/python-mitogen/0.3.19-1/interpreter_python/ and it works - ansible.cfg is respected ```console alex@d13:~/src/mitogen$ cat ansible.cfg [defaults] interpreter_python = /usr/bin/python3.12 alex@d13:~/src/mitogen$ ANSIBLE_STRATEGY_PLUGINS=/usr/lib/python3/dist-packages/ansible_mitogen/plugins/strategy/...

Something is different between our test setups. We're getting different results. I'll try to work out what over the weekend. EDIT: added timescale

> Every time I get that banner, and see: > > ``` > $HOST | SUCCESS => { > "ansible_facts": { > "discovered_interpreter_python": "/usr/bin/python3.11" > }, > "changed": false, >...