Mirror of mitogen
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.
 
 
 
Go to file
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
.ci mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
.github chore: Add issue templates for 0.2 vs 0.3 releases 4 years ago
ansible_mitogen mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
docs mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
examples Replace os.system() with subprocess.check_call() 3 years ago
mitogen mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
scripts remove unused imports flagged by lgtm 5 years ago
tests mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
.gitignore Ignore Ansible retry files 9 months ago
.lgtm.yml Whoops, merge together lgtm.yml and .lgtm.yml 5 years ago
LICENSE Bump copyright year and use generic author name (testing Travis) 4 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 6 years ago
README.md Abandon Travis CI We have no credits, and its a PITA to maintain two CI platforms. The tests running on Travis provide very little extra coverage vs Azure Pipelines alone 3 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 6 years ago
preamble_size.py mitogen.parent: Remove tabs from minimized first stage 3 years ago
run_tests tests: Remove unittest2, use stdlib unittest 3 years ago
setup.cfg Declare universal wheel support 4 years ago
setup.py Add Python 3.11 support 1 year ago
tox.ini mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago

README.md