Python 3.10 support

pull/918/head
Alex Willmer 2 years ago
parent af03b9a9b3
commit 2a95d039ab

@ -25,9 +25,9 @@ jobs:
Mito_36: Mito_36:
python.version: '3.6' python.version: '3.6'
tox.env: py36-mode_mitogen tox.env: py36-mode_mitogen
Mito_39: Mito_310:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen tox.env: py310-mode_mitogen
# TODO: test python3, python3 tests are broken # TODO: test python3, python3 tests are broken
Loc_27_210: Loc_27_210:
@ -72,9 +72,9 @@ jobs:
Mito_37: Mito_37:
python.version: '3.7' python.version: '3.7'
tox.env: py37-mode_mitogen tox.env: py37-mode_mitogen
Mito_39: Mito_310:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen tox.env: py310-mode_mitogen
# TODO: test python3, python3 tests are broken # TODO: test python3, python3 tests are broken
Loc_27_210: Loc_27_210:
@ -162,33 +162,33 @@ jobs:
python.version: '3.6' python.version: '3.6'
tox.env: py36-mode_mitogen-distro_ubuntu2004 tox.env: py36-mode_mitogen-distro_ubuntu2004
Mito_39_centos6: Mito_310_centos6:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_centos6 tox.env: py310-mode_mitogen-distro_centos6
Mito_39_centos7: Mito_310_centos7:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_centos7 tox.env: py310-mode_mitogen-distro_centos7
Mito_39_centos8: Mito_310_centos8:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_centos8 tox.env: py310-mode_mitogen-distro_centos8
Mito_39_debian9: Mito_310_debian9:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_debian9 tox.env: py310-mode_mitogen-distro_debian9
Mito_39_debian10: Mito_310_debian10:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_debian10 tox.env: py310-mode_mitogen-distro_debian10
Mito_39_debian11: Mito_310_debian11:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_debian11 tox.env: py310-mode_mitogen-distro_debian11
Mito_39_ubuntu1604: Mito_310_ubuntu1604:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_ubuntu1604 tox.env: py310-mode_mitogen-distro_ubuntu1604
Mito_39_ubuntu1804: Mito_310_ubuntu1804:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_ubuntu1804 tox.env: py310-mode_mitogen-distro_ubuntu1804
Mito_39_ubuntu2004: Mito_310_ubuntu2004:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_mitogen-distro_ubuntu2004 tox.env: py310-mode_mitogen-distro_ubuntu2004
#DebOps_2460_27_27: #DebOps_2460_27_27:
#python.version: '2.7' #python.version: '2.7'
@ -247,15 +247,15 @@ jobs:
python.version: '3.6' python.version: '3.6'
tox.env: py36-mode_ansible-ansible4 tox.env: py36-mode_ansible-ansible4
Ans_39_210: Ans_310_210:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_ansible-ansible2.10 tox.env: py310-mode_ansible-ansible2.10
Ans_39_3: Ans_310_3:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_ansible-ansible3 tox.env: py310-mode_ansible-ansible3
Ans_39_4: Ans_310_4:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_ansible-ansible4 tox.env: py310-mode_ansible-ansible4
Ans_39_5: Ans_310_5:
python.version: '3.9' python.version: '3.10'
tox.env: py39-mode_ansible-ansible5 tox.env: py310-mode_ansible-ansible5

@ -147,8 +147,8 @@ Noteworthy Differences
* Mitogen 0.2.x supports Ansible 2.3-2.9; with Python 2.6, 2.7, or 3.6. * Mitogen 0.2.x supports Ansible 2.3-2.9; with Python 2.6, 2.7, or 3.6.
Mitogen 0.3.1+ supports Mitogen 0.3.1+ supports
- Ansible 2.10, 3, and 4; with Python 2.7, or 3.6-3.9 - Ansible 2.10, 3, and 4; with Python 2.7, or 3.6-3.10
- Ansible 5; with Python 3.8-3.9 - Ansible 5; with Python 3.8-3.10
Verify your installation is running one of these versions by checking Verify your installation is running one of these versions by checking
``ansible --version`` output. ``ansible --version`` output.

@ -22,6 +22,7 @@ v0.3.3.dev0
------------------- -------------------
* :gh:issue:`906` Support packages dynamically inserted into sys.modules, e.g. `distro` >= 1.7.0 as `ansible.module_utils.distro`. * :gh:issue:`906` Support packages dynamically inserted into sys.modules, e.g. `distro` >= 1.7.0 as `ansible.module_utils.distro`.
* :gh:issue:`918` Support Python 3.10
v0.3.2 (2022-01-12) v0.3.2 (2022-01-12)

@ -76,6 +76,7 @@ setup(
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: CPython',
'Topic :: System :: Distributed Computing', 'Topic :: System :: Distributed Computing',
'Topic :: System :: Systems Administration', 'Topic :: System :: Systems Administration',

@ -36,10 +36,10 @@
envlist = envlist =
init, init,
py{27,36}-mode_ansible-ansible{2.10,3,4}, py{27,36}-mode_ansible-ansible{2.10,3,4},
py{39}-mode_ansible-ansible{2.10,3,4,5}, py{310}-mode_ansible-ansible{2.10,3,4,5},
py{27,36,39}-mode_mitogen-distro_centos{6,7,8}, py{27,36,310}-mode_mitogen-distro_centos{6,7,8},
py{27,36,39}-mode_mitogen-distro_debian{9,10,11}, py{27,36,310}-mode_mitogen-distro_debian{9,10,11},
py{27,36,39}-mode_mitogen-distro_ubuntu{1604,1804,2004}, py{27,36,310}-mode_mitogen-distro_ubuntu{1604,1804,2004},
report, report,
requires = requires =
tox-factor tox-factor
@ -53,6 +53,7 @@ basepython =
py37: python3.7 py37: python3.7
py38: python3.8 py38: python3.8
py39: python3.9 py39: python3.9
py310: python3.10
deps = deps =
-r{toxinidir}/tests/requirements.txt -r{toxinidir}/tests/requirements.txt
mode_ansible: -r{toxinidir}/tests/ansible/requirements.txt mode_ansible: -r{toxinidir}/tests/ansible/requirements.txt

Loading…
Cancel
Save