From 6723f4e6b157b31b817e7c5d624ae37aa274bd31 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Fri, 25 Apr 2025 15:06:55 +0200 Subject: [PATCH] chore: Bump supported python and ansible-core versions Bump to python >=3.10,<=3.13 and ansible-core >=2.16,<=2.19. Signed-off-by: Felix Matouschek --- .github/workflows/ci.yml | 56 +++---------------------------- .github/workflows/integration.yml | 31 ++--------------- README.md | 2 +- 3 files changed, 8 insertions(+), 81 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a3c813..551571e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,50 +98,26 @@ jobs: with: matrix_exclude: >- [ - { - "ansible-version": "stable-2.15", - "python-version": "3.12" - }, - { - "ansible-version": "stable-2.15", - "python-version": "3.13" - }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.13" }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, { "ansible-version": "stable-2.18", - "python-version": "3.9" + "python-version": "3.10" }, { - "ansible-version": "stable-2.18", + "ansible-version": "stable-2.19", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "devel", "python-version": "3.10" @@ -155,50 +131,26 @@ jobs: with: matrix_exclude: >- [ - { - "ansible-version": "stable-2.15", - "python-version": "3.12" - }, - { - "ansible-version": "stable-2.15", - "python-version": "3.13" - }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.13" }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, { "ansible-version": "stable-2.18", - "python-version": "3.9" + "python-version": "3.10" }, { - "ansible-version": "stable-2.18", + "ansible-version": "stable-2.19", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "devel", "python-version": "3.10" diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5d5b190..7d682fb 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -7,50 +7,26 @@ on: matrix_exclude: default: >- [ - { - "ansible-version": "stable-2.15", - "python-version": "3.12" - }, - { - "ansible-version": "stable-2.15", - "python-version": "3.13" - }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.13" }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, { "ansible-version": "stable-2.18", - "python-version": "3.9" + "python-version": "3.10" }, { - "ansible-version": "stable-2.18", + "ansible-version": "stable-2.19", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "devel", "python-version": "3.10" @@ -87,14 +63,13 @@ jobs: matrix: test-target: ${{ fromJSON(inputs.ansible_test_targets) }} ansible-version: - - stable-2.15 - stable-2.16 - stable-2.17 - stable-2.18 + - stable-2.19 - milestone - devel python-version: - - "3.9" - "3.10" - "3.11" - "3.12" diff --git a/README.md b/README.md index f04f1e2..0247c9f 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.15,<=2.18** and Python versions **>=3.9,<=3.13**. +This collection has been tested against Ansible versions **>=2.16,<=2.19** 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.