From 828eadcab765c596fa6ebaceeab566b2e70c6174 Mon Sep 17 00:00:00 2001 From: Yuriy Novostavskiy Date: Wed, 22 Jan 2025 10:40:25 +0200 Subject: [PATCH] drop version ansible-core 2.15 and python 3.9 Closes #170 Reason: - ansible-core 2.15 reached EOL in Nov 2024 - support of python 3.9 dropped in ansible-core 2.16 Ref: - https://docs.ansible.com/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix --- .../ansible_aws_test_provider/action.yaml | 4 +-- .../ansible_azure_test_provider/action.yaml | 4 +-- .../actions/ansible_test_splitter/action.yml | 2 +- .../ansible_validate_changelog/action.yml | 2 +- .../actions/checkout_dependency/action.yml | 4 +-- .../actions/commit_to_pullrequest/action.yml | 2 +- .github/actions/create_pullrequest/action.yml | 2 +- .github/workflows/integration_simple.yml | 35 +++---------------- .github/workflows/release-branch.yml | 2 +- .github/workflows/release-tag.yml | 2 +- .github/workflows/sanity.yml | 26 +++----------- .github/workflows/unit_galaxy.yml | 26 +++----------- .github/workflows/unit_source.yml | 26 +++----------- 13 files changed, 29 insertions(+), 108 deletions(-) diff --git a/.github/actions/ansible_aws_test_provider/action.yaml b/.github/actions/ansible_aws_test_provider/action.yaml index 68f9c41e..0a0284af 100644 --- a/.github/actions/ansible_aws_test_provider/action.yaml +++ b/.github/actions/ansible_aws_test_provider/action.yaml @@ -22,10 +22,10 @@ outputs: runs: using: composite steps: - - name: Set up Python '3.9' + - name: Set up Python '3.12' uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: install python required modules run: pip install requests diff --git a/.github/actions/ansible_azure_test_provider/action.yaml b/.github/actions/ansible_azure_test_provider/action.yaml index 87cf1644..082ac61c 100644 --- a/.github/actions/ansible_azure_test_provider/action.yaml +++ b/.github/actions/ansible_azure_test_provider/action.yaml @@ -22,10 +22,10 @@ outputs: runs: using: composite steps: - - name: Set up Python '3.9' + - name: Set up Python '3.12' uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: install python required modules run: pip install requests diff --git a/.github/actions/ansible_test_splitter/action.yml b/.github/actions/ansible_test_splitter/action.yml index 9daff1f3..9481d409 100644 --- a/.github/actions/ansible_test_splitter/action.yml +++ b/.github/actions/ansible_test_splitter/action.yml @@ -32,7 +32,7 @@ runs: - name: setup python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: Install python required libraries run: pip install -U pyyaml diff --git a/.github/actions/ansible_validate_changelog/action.yml b/.github/actions/ansible_validate_changelog/action.yml index 3cd693f4..51a9926e 100644 --- a/.github/actions/ansible_validate_changelog/action.yml +++ b/.github/actions/ansible_validate_changelog/action.yml @@ -23,7 +23,7 @@ runs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: Install python dependencies run: | diff --git a/.github/actions/checkout_dependency/action.yml b/.github/actions/checkout_dependency/action.yml index 4982f3d4..7753b705 100644 --- a/.github/actions/checkout_dependency/action.yml +++ b/.github/actions/checkout_dependency/action.yml @@ -15,10 +15,10 @@ inputs: runs: using: composite steps: - - name: Set up Python '3.9' + - name: Set up Python '3.12' uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: install PyGithub run: | diff --git a/.github/actions/commit_to_pullrequest/action.yml b/.github/actions/commit_to_pullrequest/action.yml index ccbb9922..000bbeab 100644 --- a/.github/actions/commit_to_pullrequest/action.yml +++ b/.github/actions/commit_to_pullrequest/action.yml @@ -41,7 +41,7 @@ runs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: Install required python libraries run: pip install -U ${{ inputs.python_libs }} diff --git a/.github/actions/create_pullrequest/action.yml b/.github/actions/create_pullrequest/action.yml index e1c34f0f..4d65ca4a 100644 --- a/.github/actions/create_pullrequest/action.yml +++ b/.github/actions/create_pullrequest/action.yml @@ -37,7 +37,7 @@ runs: - name: setup python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: Install python required libraries run: pip install -U pygithub diff --git a/.github/workflows/integration_simple.yml b/.github/workflows/integration_simple.yml index 6d1b4bc9..45752d48 100644 --- a/.github/workflows/integration_simple.yml +++ b/.github/workflows/integration_simple.yml @@ -22,38 +22,18 @@ on: "ansible-version": "devel", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "stable-2.18", "python-version": "3.10" }, - { - "ansible-version": "stable-2.18", - "python-version": "3.9" - }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.12" @@ -61,14 +41,6 @@ on: { "ansible-version": "stable-2.16", "python-version": "3.13" - }, - { - "ansible-version": "stable-2.15", - "python-version": "3.12" - }, - { - "ansible-version": "stable-2.15", - "python-version": "3.13" } ] required: false @@ -91,14 +63,17 @@ jobs: fail-fast: false matrix: ansible-version: - - stable-2.15 + # ansible-core 2.15 reached EOL on November 2024 + # ansible-core 2.16 will reach EOL on May 2025 - stable-2.16 - stable-2.17 - stable-2.18 - milestone - devel python-version: - - "3.9" + # 2.16 supports Python 3.10-3.11 + # 2.17 supports Python 3.10-3.12 + # 2.18 supports Python 3.11-3.13 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 167bd735..82d52d0d 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -50,7 +50,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: Install required python modules run: pip3 install tox yq diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 89be7eaa..f11d7a45 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -38,7 +38,7 @@ jobs: - name: setup python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.12" - name: install python libraries run: pip3 install yq pygithub diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 15ba3b06..04ee81e4 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -22,38 +22,18 @@ on: "ansible-version": "devel", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "stable-2.18", "python-version": "3.10" }, - { - "ansible-version": "stable-2.18", - "python-version": "3.9" - }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.12" @@ -97,14 +77,16 @@ jobs: os: - ubuntu-latest ansible-version: - - stable-2.15 + # ansible-core 2.15 reached EOL on November 2024 - stable-2.16 - stable-2.17 - stable-2.18 - milestone - devel python-version: - - "3.9" + # 2.16 supports Python 3.10-3.11 + # 2.17 supports Python 3.10-3.12 + # 2.18 supports Python 3.11-3.13 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/unit_galaxy.yml b/.github/workflows/unit_galaxy.yml index c2aa28f8..332a85c3 100644 --- a/.github/workflows/unit_galaxy.yml +++ b/.github/workflows/unit_galaxy.yml @@ -22,38 +22,18 @@ on: "ansible-version": "devel", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "stable-2.18", "python-version": "3.10" }, - { - "ansible-version": "stable-2.18", - "python-version": "3.9" - }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.12" @@ -90,14 +70,16 @@ jobs: os: - ubuntu-latest ansible-version: - - stable-2.15 + # ansible-core 2.15 reached EOL on November 2024 - stable-2.16 - stable-2.17 - stable-2.18 - milestone - devel python-version: - - "3.9" + # 2.16 supports Python 3.10-3.11 + # 2.17 supports Python 3.10-3.12 + # 2.18 supports Python 3.11-3.13 - "3.10" - "3.11" - "3.12" diff --git a/.github/workflows/unit_source.yml b/.github/workflows/unit_source.yml index a132b9ef..e620bdb3 100644 --- a/.github/workflows/unit_source.yml +++ b/.github/workflows/unit_source.yml @@ -22,38 +22,18 @@ on: "ansible-version": "devel", "python-version": "3.10" }, - { - "ansible-version": "devel", - "python-version": "3.9" - }, { "ansible-version": "milestone", "python-version": "3.10" }, - { - "ansible-version": "milestone", - "python-version": "3.9" - }, { "ansible-version": "stable-2.18", "python-version": "3.10" }, - { - "ansible-version": "stable-2.18", - "python-version": "3.9" - }, - { - "ansible-version": "stable-2.17", - "python-version": "3.9" - }, { "ansible-version": "stable-2.17", "python-version": "3.13" }, - { - "ansible-version": "stable-2.16", - "python-version": "3.9" - }, { "ansible-version": "stable-2.16", "python-version": "3.12" @@ -84,14 +64,16 @@ jobs: fail-fast: false matrix: ansible-version: - - stable-2.15 + # ansible-core 2.15 reached EOL on November 2024 - stable-2.16 - stable-2.17 - stable-2.18 - milestone - devel python-version: - - "3.9" + # 2.16 supports Python 3.10-3.11 + # 2.17 supports Python 3.10-3.12 + # 2.18 supports Python 3.11-3.13 - "3.10" - "3.11" - "3.12"