mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Move ssh and local connection plugins from using raw select to selectors
At the moment, this change will use EPoll on Linux, KQueue on *BSDs, etc, so it should alleviate problems with too many open file descriptors. * Bundle a copy of selectors2 so that we have the selectors API everywhere. * Add licensing information to selectors2 file so it's clear what the licensing terms and conditions are. * Exclude the bundled copy of selectors2 from our boilerplate code-smell test * Rewrite ssh_run tests to attempt to work around problem with mocking select on shippable Fixes #14143
This commit is contained in:
parent
2c70450e23
commit
d1a6b07fe1
7 changed files with 1100 additions and 227 deletions
4
setup.py
4
setup.py
|
@ -18,8 +18,8 @@ setup(name='ansible',
|
|||
author_email='info@ansible.com',
|
||||
url='http://ansible.com/',
|
||||
license='GPLv3',
|
||||
# Ansible will also make use of a system copy of python-six if installed but use a
|
||||
# Bundled copy if it's not.
|
||||
# Ansible will also make use of a system copy of python-six and
|
||||
# python-selectors2 if installed but use a Bundled copy if it's not.
|
||||
install_requires=['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto >= 2.6'],
|
||||
package_dir={ '': 'lib' },
|
||||
packages=find_packages('lib'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue