mitogen/tests/ansible/integration/connection_delegation
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>
2024-03-17 14:57:57 +00:00
..
all.yml tests: Enable stricter error handling, fix resulting failures 2022-07-17 13:44:05 +01:00
delegate_to_template.yml mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 2024-03-17 14:57:57 +00:00
local_action.yml tests: Increase Ansible timeout to reduce false positives 2022-09-12 19:27:40 +01:00
osa_container_standalone.yml
osa_delegate_to_self.yml
stack_construction.yml tests: Support Ubuntu 22.04 as test suite runner (controller) 2023-07-29 00:26:26 +01:00