From dd4a2dbb73a50592196b06e8c9935cad89e73c47 Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Tue, 21 Jan 2025 16:05:40 +0530 Subject: [PATCH 1/2] Add Python 3.13 for PR checks in GHA Signed-off-by: Gaurav Talreja (cherry picked from commit 33a27584c98e75a7a8f744416dd2850cdbc47dc3) --- .github/workflows/pull_request.yml | 4 ++-- setup.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 0987eb10f..386374fe5 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - name: Checkout Airgun uses: actions/checkout@v4 @@ -58,7 +58,7 @@ jobs: - name: Set Up Python uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' - name: Install the latest version of uv and set the Python version uses: astral-sh/setup-uv@v5 diff --git a/setup.py b/setup.py index f52886ee9..eb76e4992 100644 --- a/setup.py +++ b/setup.py @@ -41,5 +41,7 @@ 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', ], ) From df294d0fa48d24015db6c10b7ebb7538ae2559a5 Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Mon, 10 Feb 2025 14:55:17 +0530 Subject: [PATCH 2/2] [6.15.z] Parametrize the Python version in PR workflow --- .github/workflows/pull_request.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 386374fe5..eba610f72 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -51,6 +51,9 @@ jobs: name: Robottelo installation cross-check runs-on: ubuntu-latest needs: codechecks + strategy: + matrix: + python-version: ['3.13'] steps: - name: Checkout Airgun uses: actions/checkout@v4 @@ -58,12 +61,12 @@ jobs: - name: Set Up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: ${{ matrix.python-version }} - name: Install the latest version of uv and set the Python version uses: astral-sh/setup-uv@v5 with: - python-version: '3.12' + python-version: ${{ matrix.python-version }} enable-cache: true cache-dependency-glob: | **/requirements*.txt