mitogen icon indicating copy to clipboard operation
mitogen copied to clipboard

docs: Update supported python version

Open FestplattenSchnitzel opened this issue 10 months ago • 4 comments

Following up 104865e86632429c9c7408e7c6b14ab35ef43067

FestplattenSchnitzel avatar Feb 02 '25 10:02 FestplattenSchnitzel

Hey @moreati ,

could you provide which parent child combinations are currently tested automatically in order to correct the following information?

Every combination of Python 3.x/2.x parent and child should be possible, however at present only Python 2.4, 2.6, 2.7 and 3.6 are tested automatically.

FestplattenSchnitzel avatar Feb 02 '25 10:02 FestplattenSchnitzel

-    python_requires='>=2.4, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4',
+    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*',

-- https://github.com/mitogen-hq/mitogen/commit/104865e86632429c9c7408e7c6b14ab35ef43067, 2022

Huh, I'd forgotten I did that.

In theory

  • mitogen.* supprts Python 2.4+. I've tried to maintain compatibility but there's very little manual testing, and nothing automated.
  • ansible_mitogen.* supports Python 2.7+/3.6+. There is automated testing of the extremities in the range by https://github.com/mitogen-hq/mitogen/actions/workflows/tests.yml

moreati avatar Feb 02 '25 11:02 moreati

See also

  • https://github.com/mitogen-hq/mitogen/commit/9cdd51cf5b584bf828354301ab97d4a2e13e30c7
  • https://github.com/mitogen-hq/mitogen/blob/master/docs/ansible_detailed.rst?plain=1#L120-L145

moreati avatar Feb 02 '25 11:02 moreati

personal notes https://github.com/mitogen-hq/mitogen/blob/8580da903ce97664ed9d0fd5dfa3244600882e3c/tox.ini#L7-L20

moreati avatar Feb 02 '25 11:02 moreati