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.
mitogen/tests/ansible/integration
Alex Willmer 5ad3d14ceb mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12
importlib.machinery.ModuleSpec and find_spec() were introduced in Python 3.4
under PEP 451. They replace the find_module() API of PEP 302, which was
deprecated from Python 3.4. They were removed in Python 3.12 along with the
imp module.

This change adds support for the PEP 451 APIs. Mitogen should no longer import
imp on Python versions that support ModuleSpec. Tests have been added to cover
the new APIs.

CI jobs have been added to cover Python 3.x on macOS.

Refs #1033
Co-authored-by: Witold Baryluk <witold.baryluk@gmail.com>
3 months ago
..
action tests: Name tasks 2 years ago
async tests: Name tasks 2 years ago
become tests: Enable su tests under vanilla Ansible >= 2.11 3 months ago
connection tests: Name tasks 2 years ago
connection_delegation mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 3 months ago
connection_loader tests: Enable stricter error handling, fix resulting failures 2 years ago
context_service tests: Name tasks 2 years ago
glibc_caches tests: Name tasks 2 years ago
interpreter_discovery mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 3 months ago
local tests: Name tasks 2 years ago
module_utils ci: Upgrade VM Images to macOS 11 and Ubuntu 20.04 2 years ago
playbook_semantics tests: Name tasks 2 years ago
process tests: Support Ubuntu 22.04 as test suite runner (controller) 11 months ago
runner tests: Clarify status/purpose of Python 2.x era Ansible Module workaround 3 months ago
ssh tests: Support Ubuntu 22.04 as test suite runner (controller) 11 months ago
strategy tests: Eliminate MITOGEN_INVENTORY_FILE 2 years ago
stub_connections tests: Name tasks 2 years ago
transport tests: Tag Ansible tests 3 years ago
transport_config ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence 2 years ago
_mitogen_only.yml issue #536: add mitogen_via= tests too. 5 years ago
all.yml Revert "Revert "fixed tests for ansible 2.12"" 3 years ago