Skip to content

Commit b105877

Browse files
committed
mitogen: Re-declare Python 2.4 compatibility
With CentOS 5 now covered by the Mitogen unit tests I'm content to reverse/clarify 104865e
1 parent fb9efb2 commit b105877

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ To avail of fixes in an unreleased version, please download a ZIP file
2121
In progress (unreleased)
2222
------------------------
2323

24+
* :gh:issue:`1237` :mod:`mitogen`: Re-declare Python 2.4 compatibility
2425

2526
v0.3.35 (2025-12-01)
2627
--------------------

docs/index.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,12 +332,16 @@ a large fleet of machines, or to alert the parent of unexpected state changes.
332332
Compatibility
333333
#############
334334

335-
Mitogen is compatible with **Python 2.4** released November 2004, making it
335+
``mitogen.*`` is compatible with Python 2.4 - 2.7 and 3.6 onward; making it
336336
suitable for managing a fleet of potentially ancient corporate hardware, such
337337
as Red Hat Enterprise Linux 5, released in 2007.
338338

339-
Every combination of Python 3.x/2.x parent and child should be possible,
340-
however at present only Python 2.4, 2.6, 2.7 and 3.6 are tested automatically.
339+
Every combination of Python 3.x/2.x parent and child should be possible.
340+
Automated testing cannot cover every combination, automated testing tries to
341+
cover the extemities (e.g. Python 3.14 parent -> Python 2.4 child).
342+
343+
``ansible_mitogen.*`` is compatible with Python 2.7 and 3.6 onward; making it
344+
suitable for Ansible 2.10 onward.
341345

342346

343347
Zero Dependencies

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def long_description():
8282
license = 'BSD-3-Clause',
8383
url = 'https://github.com/mitogen-hq/mitogen/',
8484
packages = find_packages(exclude=['tests', 'examples']),
85-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
85+
python_requires='>=2.4, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',
8686
zip_safe = False,
8787
classifiers = [
8888
'Environment :: Console',
@@ -91,6 +91,9 @@ def long_description():
9191
'Operating System :: MacOS :: MacOS X',
9292
'Operating System :: POSIX',
9393
'Programming Language :: Python',
94+
'Programming Language :: Python :: 2.4',
95+
'Programming Language :: Python :: 2.5',
96+
'Programming Language :: Python :: 2.6',
9497
'Programming Language :: Python :: 2.7',
9598
'Programming Language :: Python :: 3',
9699
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)