From 0646802cc6f25e5cb6614d019aaaf503746cf5cd Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Tue, 11 Nov 2025 12:19:20 +0100 Subject: [PATCH 1/2] chore(test): Add ansible-compat requirement Add ansible-compat required by pytest-ansible to test-requirements.txt. Signed-off-by: Felix Matouschek --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/test-requirements.txt b/test-requirements.txt index 93631ee..8ebb36b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,4 @@ +ansible-compat pytest pytest-ansible pytest-mock From b31793f1a301cd046d8633bfa5a3bcb6761a7842 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Tue, 11 Nov 2025 14:53:05 +0100 Subject: [PATCH 2/2] chore(ci): Update excludes and bump supported ansible versions Update the excludes to exclude Python 3.11 with ansible-core 2.20 and bump the supported versions in README.md. Signed-off-by: Felix Matouschek --- .github/workflows/ci.yml | 8 ++++++++ README.md | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b1198b..8f4f6ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -114,6 +114,10 @@ jobs: "ansible-version": "stable-2.19", "python-version": "3.10" }, + { + "ansible-version": "stable-2.20", + "python-version": "3.11" + }, { "ansible-version": "milestone", "python-version": "3.10" @@ -155,6 +159,10 @@ jobs: "ansible-version": "stable-2.19", "python-version": "3.10" }, + { + "ansible-version": "stable-2.20", + "python-version": "3.11" + }, { "ansible-version": "milestone", "python-version": "3.10" diff --git a/README.md b/README.md index e9311c6..f2de4f4 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This repository hosts the `kubevirt.core` Ansible Collection, which provides vir ## Ansible and Python version compatibility -This collection has been tested against Ansible versions **>=2.16,<=2.19** and Python versions **>=3.10,<=3.13**. +This collection has been tested against Ansible versions **>=2.16,<=2.20** and Python versions **>=3.10,<=3.13**. See the [Ansible core support matrix](https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix) for supported combinations.