From 8ed70221892f593d2d31c5860c5388482ddce132 Mon Sep 17 00:00:00 2001 From: aitbc1 Date: Thu, 26 Mar 2026 08:52:39 +0100 Subject: [PATCH] ci: pin Python version to 3.13.5 across all workflows - Update all GitHub Actions workflows to use Python 3.13.5 specifically - Replace flexible '3.13' with exact '3.13.5' version pinning - Update pyproject.toml requires-python and classifiers to match - Align CI/CD with local development environment (Python 3.13.5) - Prevent Dependabot from testing with newer Python versions like 3.13.12 --- .github/workflows/ci-cd.yml | 16 ++++++++-------- .github/workflows/cli-level1-tests.yml | 2 +- .github/workflows/gpu-benchmark.yml | 2 +- .github/workflows/security-scanning.yml | 4 ++-- pyproject.toml | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b87b2df8..9a5a7cc1 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -9,7 +9,7 @@ on: types: [ published ] env: - PYTHON_VERSION: "3.13" + PYTHON_VERSION: "3.13.5" NODE_VERSION: "18" jobs: @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.13"] + python-version: ["3.13.5"] steps: - name: Checkout code @@ -89,7 +89,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Install CLI run: | @@ -141,7 +141,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Install dependencies run: | @@ -186,7 +186,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Install dependencies run: | @@ -286,7 +286,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Build CLI package run: | @@ -393,7 +393,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Install dependencies run: | @@ -423,7 +423,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v6 with: - python-version: "3.13" + python-version: "3.13.5" - name: Install documentation dependencies run: | diff --git a/.github/workflows/cli-level1-tests.yml b/.github/workflows/cli-level1-tests.yml index ac89fe7d..ede4c90f 100644 --- a/.github/workflows/cli-level1-tests.yml +++ b/.github/workflows/cli-level1-tests.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: - python-version: [3.13] + python-version: [3.13.5] steps: - name: Checkout code diff --git a/.github/workflows/gpu-benchmark.yml b/.github/workflows/gpu-benchmark.yml index 74cc756c..f1bc9064 100644 --- a/.github/workflows/gpu-benchmark.yml +++ b/.github/workflows/gpu-benchmark.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.13] + python-version: [3.13.5] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/security-scanning.yml b/.github/workflows/security-scanning.yml index 616849fb..01cdcc3e 100644 --- a/.github/workflows/security-scanning.yml +++ b/.github/workflows/security-scanning.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.13.5' - name: Install dependencies run: | @@ -108,7 +108,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.13' + python-version: '3.13.5' - name: Install dependencies run: | diff --git a/pyproject.toml b/pyproject.toml index 4d1b27a2..db28bba0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,7 +110,7 @@ authors = [ ] readme = "cli/README.md" license = "MIT" -requires-python = ">=3.13" +requires-python = ">=3.13.5" dependencies = [ "click==8.3.1", "httpx==0.28.1", @@ -135,7 +135,7 @@ classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.13.5", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Distributed Computing",