ansible_mitogen: Declare Ansible 8 (ansible-core 2.15) support
refs #1021
This commit is contained in:
parent
2333b9aced
commit
fa1d21747f
|
@ -34,15 +34,15 @@ jobs:
|
|||
|
||||
Loc_27_210:
|
||||
tox.env: py27-mode_localhost-ansible2.10
|
||||
Loc_312_7:
|
||||
Loc_312_8:
|
||||
python.version: '3.12'
|
||||
tox.env: py312-mode_localhost-ansible7
|
||||
tox.env: py312-mode_localhost-ansible8
|
||||
|
||||
Van_27_210:
|
||||
tox.env: py27-mode_localhost-ansible2.10-strategy_linear
|
||||
Van_312_7:
|
||||
Van_312_8:
|
||||
python.version: '3.12'
|
||||
tox.env: py312-mode_localhost-ansible7-strategy_linear
|
||||
tox.env: py312-mode_localhost-ansible8-strategy_linear
|
||||
|
||||
- job: Linux
|
||||
pool:
|
||||
|
@ -157,3 +157,6 @@ jobs:
|
|||
Ans_312_7:
|
||||
python.version: '3.12'
|
||||
tox.env: py312-mode_ansible-ansible7
|
||||
Ans_312_8:
|
||||
python.version: '3.12'
|
||||
tox.env: py312-mode_ansible-ansible8
|
||||
|
|
|
@ -49,7 +49,7 @@ __all__ = [
|
|||
|
||||
|
||||
ANSIBLE_VERSION_MIN = (2, 10)
|
||||
ANSIBLE_VERSION_MAX = (2, 14)
|
||||
ANSIBLE_VERSION_MAX = (2, 15)
|
||||
|
||||
NEW_VERSION_MSG = (
|
||||
"Your Ansible version (%s) is too recent. The most recent version\n"
|
||||
|
|
|
@ -148,9 +148,23 @@ Noteworthy Differences
|
|||
* Mitogen 0.2.x supports Ansible 2.3-2.9; with Python 2.6, 2.7, or 3.6.
|
||||
Mitogen 0.3.1+ supports
|
||||
|
||||
- Ansible 2.10, 3, and 4; with Python 2.7, or 3.6-3.11
|
||||
- Ansible 5; with Python 3.8-3.11
|
||||
- Ansible 6 and 7; with Python 3.8-3.12
|
||||
+-----------------+-----------------+
|
||||
| Ansible version | Python versions |
|
||||
+=================+=================+
|
||||
| 2.10 | |
|
||||
+-----------------+ |
|
||||
| 3 | 2.7, 3.6 - 3.11 |
|
||||
+-----------------+ |
|
||||
| 4 | |
|
||||
+-----------------+-----------------+
|
||||
| 5 | 3.8 - 3.11 |
|
||||
+-----------------+-----------------+
|
||||
| 6 | |
|
||||
+-----------------+ 3.8 - 3.12 |
|
||||
| 7 | |
|
||||
+-----------------+-----------------+
|
||||
| 8 | 3.9 - 3.12 |
|
||||
+-----------------+-----------------+
|
||||
|
||||
Verify your installation is running one of these versions by checking
|
||||
``ansible --version`` output.
|
||||
|
|
|
@ -21,6 +21,8 @@ To avail of fixes in an unreleased version, please download a ZIP file
|
|||
Unreleased
|
||||
----------
|
||||
|
||||
* :gh:issue:`1021` Support for Ansible 8 (ansible-core 2.15)
|
||||
|
||||
|
||||
v0.3.6 (2024-04-04)
|
||||
-------------------
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -57,7 +57,7 @@ envlist =
|
|||
init,
|
||||
py{27,36}-mode_ansible-ansible{2.10,3,4},
|
||||
py{311}-mode_ansible-ansible{2.10,3,4,5},
|
||||
py{312}-mode_ansible-ansible{6,7},
|
||||
py{312}-mode_ansible-ansible{6,7,8},
|
||||
py{27,36,312}-mode_mitogen-distro_centos{6,7,8},
|
||||
py{27,36,312}-mode_mitogen-distro_debian{9,10,11},
|
||||
py{27,36,312}-mode_mitogen-distro_ubuntu{1604,1804,2004},
|
||||
|
@ -84,6 +84,7 @@ deps =
|
|||
ansible5: ansible~=5.0
|
||||
ansible6: ansible~=6.0
|
||||
ansible7: ansible~=7.0
|
||||
ansible8: ansible~=8.0
|
||||
install_command =
|
||||
python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages}
|
||||
commands_pre =
|
||||
|
@ -122,6 +123,7 @@ setenv =
|
|||
# Ansible >= 6 (ansible-core >= 2.13) require Python 2.7 or >= 3.5 on targets
|
||||
ansible6: DISTROS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
|
||||
ansible7: DISTROS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
|
||||
ansible8: DISTROS=centos7 centos8 debian9 debian10 debian11 ubuntu1604 ubuntu1804 ubuntu2004
|
||||
distros_centos: DISTROS=centos6 centos7 centos8
|
||||
distros_centos5: DISTROS=centos5
|
||||
distros_centos6: DISTROS=centos6
|
||||
|
|
Loading…
Reference in New Issue