From 92f135456fa6caff29e832d99db9870ae9c61aaf Mon Sep 17 00:00:00 2001 From: "Jonas L." Date: Fri, 21 Mar 2025 14:50:47 +0100 Subject: [PATCH] feat!: drop support for ansible-core 2.15 (#611) ##### SUMMARY ansible-core 2.15 is EOL since Nov 2024. https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix --- .azure-pipelines/azure-pipelines.yml | 34 ------------------- .pre-commit-config.yaml | 2 +- .../drop-support-for-ansible-2.15.yml | 2 ++ meta/runtime.yml | 2 +- requirements.txt | 2 +- tests/sanity/ignore-2.15.txt | 1 - 6 files changed, 5 insertions(+), 38 deletions(-) create mode 100644 changelogs/fragments/drop-support-for-ansible-2.15.yml delete mode 100644 tests/sanity/ignore-2.15.txt diff --git a/.azure-pipelines/azure-pipelines.yml b/.azure-pipelines/azure-pipelines.yml index 7a5b24c..2805a6b 100644 --- a/.azure-pipelines/azure-pipelines.yml +++ b/.azure-pipelines/azure-pipelines.yml @@ -77,16 +77,6 @@ stages: - name: Sanity test: 2.16/sanity - - stage: Sanity_2_15 - displayName: Sanity 2.15 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - targets: - - name: Sanity - test: 2.15/sanity - ### Units - stage: Units_devel displayName: Units devel @@ -128,16 +118,6 @@ stages: - name: (py3.10) test: 2.16/units/3.10 - - stage: Units_2_15 - displayName: Units 2.15 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - targets: - - name: (py3.9) - test: 2.15/units/3.9 - ## Integration - stage: Integration_devel displayName: Integration devel @@ -183,17 +163,6 @@ stages: - name: (py3.10) test: 2.16/integration/3.10 - - stage: Integration_2_15 - displayName: Integration 2.15 - dependsOn: [] - jobs: - - template: templates/matrix.yml - parameters: - groups: [1, 2, 3] - targets: - - name: (py3.9) - test: 2.15/integration/3.9 - ### Finally - stage: Summary condition: succeededOrFailed() @@ -201,14 +170,11 @@ stages: - Sanity_devel - Sanity_2_17 - Sanity_2_16 - - Sanity_2_15 - Units_devel - Units_2_17 - Units_2_16 - - Units_2_15 - Integration_devel - Integration_2_17 - Integration_2_16 - - Integration_2_15 jobs: - template: templates/coverage.yml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1772119..8e7d2bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -57,7 +57,7 @@ repos: entry: env HCLOUD_TOKEN= python3 -m ansiblelint -v --force-color args: [--offline] additional_dependencies: - - ansible-core>=2.15 + - ansible-core>=2.16 - netaddr - repo: local diff --git a/changelogs/fragments/drop-support-for-ansible-2.15.yml b/changelogs/fragments/drop-support-for-ansible-2.15.yml new file mode 100644 index 0000000..3883795 --- /dev/null +++ b/changelogs/fragments/drop-support-for-ansible-2.15.yml @@ -0,0 +1,2 @@ +breaking_changes: + - Drop support for ansible-core 2.15. diff --git a/meta/runtime.yml b/meta/runtime.yml index 5a85e33..8b18444 100644 --- a/meta/runtime.yml +++ b/meta/runtime.yml @@ -1,4 +1,4 @@ -requires_ansible: ">=2.15.0" +requires_ansible: ">=2.16.0" action_groups: all: diff --git a/requirements.txt b/requirements.txt index 8572a33..9b481d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -ansible-core>=2.15 +ansible-core>=2.16 # Collections requirements netaddr diff --git a/tests/sanity/ignore-2.15.txt b/tests/sanity/ignore-2.15.txt deleted file mode 100644 index d6cabf4..0000000 --- a/tests/sanity/ignore-2.15.txt +++ /dev/null @@ -1 +0,0 @@ -plugins/inventory/hcloud.py yamllint:unparsable-with-libyaml # bug in ansible-test - https://github.com/ansible/ansible/issues/82353