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/lib
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>
8 months ago
..
action Add Python 3.11 support 1 year ago
callback tests: Print task durations 2 years ago
filters Remove unused module imports 3 years ago
module_utils Remove unused module imports 3 years ago
modules mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
modules.src ansible: better planner logging, try again 7 years ago
vars issue #477: older Ansibles had no vars plugin base class. 6 years ago