WIP Ansible 11, ansible-core 2.18

pull/1177/head
Alex Willmer 3 weeks ago
parent 89199ecdd3
commit ab385e7391

@ -63,9 +63,12 @@ jobs:
- name: Ans_313_10 - name: Ans_313_10
python_version: '3.13' python_version: '3.13'
tox_env: py313-mode_ansible-ansible10 tox_env: py313-mode_ansible-ansible10
- name: Van_313_10 - name: Ans_313_11
python_version: '3.13' python_version: '3.13'
tox_env: py313-mode_ansible-ansible10-strategy_linear tox_env: py313-mode_ansible-ansible11
- name: Van_313_11
python_version: '3.13'
tox_env: py313-mode_ansible-ansible11-strategy_linear
- name: Mito_27 - name: Mito_27
tox_env: py27-mode_mitogen tox_env: py27-mode_mitogen
@ -167,11 +170,11 @@ jobs:
- name: Mito_313 - name: Mito_313
tox_env: py313-mode_mitogen tox_env: py313-mode_mitogen
- name: Loc_313_10 - name: Loc_313_11
tox_env: py313-mode_localhost-ansible10 tox_env: py313-mode_localhost-ansible11
- name: Van_313_10 - name: Van_313_11
tox_env: py313-mode_localhost-ansible10-strategy_linear tox_env: py313-mode_localhost-ansible11-strategy_linear
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

@ -49,7 +49,7 @@ __all__ = [
ANSIBLE_VERSION_MIN = (2, 10) ANSIBLE_VERSION_MIN = (2, 10)
ANSIBLE_VERSION_MAX = (2, 17) ANSIBLE_VERSION_MAX = (2, 18)
NEW_VERSION_MSG = ( NEW_VERSION_MSG = (
"Your Ansible version (%s) is too recent. The most recent version\n" "Your Ansible version (%s) is too recent. The most recent version\n"

@ -141,6 +141,8 @@ Noteworthy Differences
+-----------------+ 3.10 - 3.13 | +-----------------+ 3.10 - 3.13 |
| 10 | | | 10 | |
+-----------------+-----------------+ +-----------------+-----------------+
| 11 | 3.11 - 3.13 |
+-----------------+-----------------+
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.

@ -12,10 +12,10 @@
# 2.7 <= 2.11 <= 2.16 <= 5.5 <= 1.11.29 <= 2.11.3 <= 20 <= 4.6.11 <= 3.28 <= 20.15² # 2.7 <= 2.11 <= 2.16 <= 5.5 <= 1.11.29 <= 2.11.3 <= 20 <= 4.6.11 <= 3.28 <= 20.15²
# 3.5 <= 2.11 <= 2.15 <= 5.5 <= 2.2.28 <= 2.11.3 <= 20 <= 5.9.5 <= 6.1.0 <= 3.28 <= 20.15² # 3.5 <= 2.11 <= 2.15 <= 5.5 <= 2.2.28 <= 2.11.3 <= 20 <= 5.9.5 <= 6.1.0 <= 3.28 <= 20.15²
# 3.6 <= 2.11 <= 2.16 <= 6.2 <= 3.2.20 <= 3.0.3 <= 21 <= 7.0.1 <= 3.28 <= 20.17² # 3.6 <= 2.11 <= 2.16 <= 6.2 <= 3.2.20 <= 3.0.3 <= 21 <= 7.0.1 <= 3.28 <= 20.17²
# 3.7 <= 2.12 <= 7.2.7 <= 3.2.20 <= 7.4.4 <= 4.8.0 # 3.7 <= 2.12 <= 2.17 <= 7.2.7 <= 3.2.20 <= 7.4.4 <= 4.8.0
# 3.8 <= 2.12 # 3.8 <= 2.12
# 3.9 <= 2.15 # 3.9 <= 2.15
# 3.10 # 3.10 <= 2.17
# 3.11 # 3.11
# 3.12 >= 2.13¹ # 3.12 >= 2.13¹
# #
@ -46,16 +46,17 @@
# ansible == 8.x ansible-core ~= 2.15.0 # ansible == 8.x ansible-core ~= 2.15.0
# ansible == 9.x ansible-core ~= 2.16.0 # ansible == 9.x ansible-core ~= 2.16.0
# ansible == 10.x ansible-core ~= 2.17.0 # ansible == 10.x ansible-core ~= 2.17.0
# ansible == 11.x ansible-core ~= 2.18.0
# See also # See also
# - https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix # - https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
[tox] [tox]
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{311}-mode_ansible-ansible{2.10,3,4,5}, py{311}-mode_ansible-ansible{2.10,3,4,5},
py{313}-mode_ansible-ansible{6,7,8,9,10}, py{313}-mode_ansible-ansible{6,7,8,9,10,11},
py{27,36,313}-mode_mitogen, py{27,36,313}-mode_mitogen,
report, report,
@ -84,6 +85,7 @@ deps =
ansible8: ansible~=8.0 ansible8: ansible~=8.0
ansible9: ansible~=9.0 ansible9: ansible~=9.0
ansible10: ansible~=10.0 ansible10: ansible~=10.0
ansible11: ansible>=11.0.0a2
install_command = install_command =
python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages} python -m pip --no-python-version-warning --disable-pip-version-check install {opts} {packages}
commands_pre = commands_pre =
@ -111,6 +113,8 @@ setenv =
ansible9: MITOGEN_TEST_DISTRO_SPECS=centos7 centos8 debian9 debian10 debian11 ubuntu1804 ubuntu2004 ansible9: MITOGEN_TEST_DISTRO_SPECS=centos7 centos8 debian9 debian10 debian11 ubuntu1804 ubuntu2004
# Ansible 10 (ansible-core 2.17) requires Python >= 3.7 on targets # Ansible 10 (ansible-core 2.17) requires Python >= 3.7 on targets
ansible10: MITOGEN_TEST_DISTRO_SPECS=debian10-py3 debian11-py3 ubuntu2004-py3 ansible10: MITOGEN_TEST_DISTRO_SPECS=debian10-py3 debian11-py3 ubuntu2004-py3
# Ansible 11 (ansible-core 2.18) requires Python >= 3.8 on targets
ansible11: MITOGEN_TEST_DISTRO_SPECS=debian11-py3 ubuntu2004-py3
distros_centos: MITOGEN_TEST_DISTRO_SPECS=centos6 centos7 centos8 distros_centos: MITOGEN_TEST_DISTRO_SPECS=centos6 centos7 centos8
distros_centos5: MITOGEN_TEST_DISTRO_SPECS=centos5 distros_centos5: MITOGEN_TEST_DISTRO_SPECS=centos5
distros_centos6: MITOGEN_TEST_DISTRO_SPECS=centos6 distros_centos6: MITOGEN_TEST_DISTRO_SPECS=centos6

Loading…
Cancel
Save