Alex Willmer
fd8c2d3702
Merge branch 'master' into master
4 years ago
Alex Willmer
bce3bab3e8
Add the msvcrt moduleto the default module deny list
...
Commit https://github.com/python/cpython/commit/880d42a3b247 (first
released in Python 3.8a0) moved an import of msvcrt from an if <win32>
block, into a try/except block. So now the import is tried even on Linux
or MacOS.
https://docs.python.org/3/library/msvcrt.html is a Windows specific
builtin.
4 years ago
Alex Willmer
ceb0a94467
Explain why the Python 2.x thread module is blacklisted
...
Based on the original commit I believe it is only an optimization.
However I could be wrong. I intend to request review of this part.
4 years ago
Michael Weigle
6b5a46ccd0
Fixes RuntimeWarning for improper bufferring on local connection
4 years ago
Steven Robertson
4657979210
adding clarifying comments
4 years ago
Steven Robertson
f886293a6a
Merge branch 'master' into collectionsSupport
4 years ago
Alex Willmer
b0ce29dcfd
ssh: Match newer ssh host key prompt that accepts the fingerprint
...
This fixes an ERROR in test_accept_enforce_host_keys() while running the
test suite.
Fixes #756
4 years ago
Steven Robertson
518324c371
fix regression in Darwin 19 (OSX 10.15+) ansible python interpreter detection
4 years ago
Steven Robertson
33e176d62e
add support for ansible_collections site-package (from pip ansible==2.10.0 install) + switch to ansible 2.10.0 rather than github tag
4 years ago
Steven Robertson
1ffb319300
remove debugging
4 years ago
Steven Robertson
207e36194d
try and get some visibility into test failures
4 years ago
Steven Robertson
5b3d90dac4
see if sys.path is being loaded properly on azure
4 years ago
Steven Robertson
4dea09a924
check sys.path issue
4 years ago
Steven Robertson
ff8a276186
turn off failing Ansible-only tests for now, also raising errors to see what Azure is gonna do with collections
4 years ago
Steven Robertson
02aedcdacd
fix issue with collections module_utils raised in alikins example
4 years ago
Steven Robertson
19f92a2435
fix inefficient basepath check
4 years ago
Steven Robertson
5215646c8a
code cleanup
4 years ago
Steven Robertson
0b421e0d3c
able to run docker_container installed via 'ansible-galaxy collection install community.general'
4 years ago
Steven Robertson
45797a0d34
able to send collections paths to master with very little change to core Mitogen, need to ensure imports work properly now though
4 years ago
Steven Robertson
583f540889
added comments
4 years ago
Steven Robertson
e34cf8667f
Merge branch 'master' into collectionsSupport
4 years ago
Steven Robertson
81076c9da8
fixes setup module relative import fail on some pythons
5 years ago
Steven Robertson
376d8d0fab
remove old hacks; ansible_collections is available at time of invoker but not later
5 years ago
Steven Robertson
1ef96b5827
normal search-jump-around-code-easily word exists in the code already so switching to jjj
5 years ago
Steven Robertson
afd8902d6b
hackily sorta got imp.find_module to load module_utils but it breaks further package discovery, needs fix
5 years ago
Steven Robertson
955e77c5db
WIP: able to load subdirs but now need to treat them as submodules properly
5 years ago
Steven Robertson
4b42dd1434
able to load things from sys.modules but not everything loads that way
5 years ago
Steven Robertson
3dbfe085ab
close-ish, getting 'ansible_collections has no submodule alikins' though because of empty submodules
5 years ago
Steven Robertson
acde13f9d6
handles a 'wait_for_connection' call right after a task caused a shutdown
5 years ago
Steven Robertson
05f74e3b30
since correctly detecting python3 now, makes 'def disconnect_all()' python3-safe
5 years ago
Steven Robertson
e728cee7cb
missed a linting spot
5 years ago
Steven Robertson
d64adb15d7
reverted autolinted code
5 years ago
Steven Robertson
99d0b08e2f
Merge branch 'master' into complexAnsiblePythonInterpreterArg
5 years ago
David Wilson
91f74a04ac
issue #667 : fix inverted test for Waker write() failure.
5 years ago
Steven Robertson
e8f3154cab
Merge branch 'master' into complexAnsiblePythonInterpreterArg
5 years ago
David Wilson
153d79b878
Bump version for release.
5 years ago
David Wilson
d6329f3446
Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415
5 years ago
Steven Robertson
cc11864b7d
code cleanup
5 years ago
Steven Robertson
50a11a80f0
sudo command works again when 'source' is used in ansible_python_interpreter
5 years ago
Steven Robertson
f1eed0163d
able to launch desired sudo command now; something is still broken though
5 years ago
Steven Robertson
24b170311a
able to get to 'sudo: source not found' after preventing escape of && so python connects
5 years ago
Steven Robertson
2ff48316f6
now able to get error: 'python: command not found'
5 years ago
Steven Robertson
defa5ef853
trying to support special python interpreters
5 years ago
David Wilson
be4f1bdb50
issue #646 : add extra logging to assertions and start_child()
5 years ago
David Wilson
c82112a34b
Bump version for release.
5 years ago
David Wilson
b21be478e4
issue #627 : add test and tweak Reaper behaviour.
5 years ago
David Wilson
e86f371b93
issue #621 : send ADD_ROUTE earlier and add test for early logging.
...
Logs were broken because ADD_ROUTE was being sent *after* messages
started flowing from the new child. That's an explicit non-goal of the
design, so fix it.
5 years ago
David Wilson
bdf6f1b9a9
issue #590 : rework ParentEnumerationMethod to recursively handle bad modules
...
In the worst case it will start with sys.path and resolve everything
from scratch.
5 years ago
David Wilson
4caca80962
issue #627 : reduce the default pool size in a child to 2.
...
Ansible has no blocking services running, or really any service that
would have an outsized benefit from multiple IO waiters. Probably we
only need 1, but let's start with 2 just in case.
5 years ago
David Wilson
5d6e20bc21
tests: add a few extra service tests.
5 years ago