diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56a228039..a5a0d401c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7.1.0 with: - python-version: 3.12.2 + python-version: '3.12' cache: pip cache-dependency-path: | setup.cfg @@ -54,7 +54,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7.1.0 with: - python-version: 3.12.2 + python-version: '3.12' cache: pip cache-dependency-path: | setup.cfg diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 06370c263..fd125bb99 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7.1.0 with: - python-version: 3.12.2 + python-version: '3.12' cache: pip cache-dependency-path: | setup.cfg @@ -75,7 +75,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v7.1.0 with: - python-version: 3.12.2 + python-version: '3.12' cache: pip cache-dependency-path: | setup.cfg @@ -95,7 +95,7 @@ jobs: fail-fast: false matrix: python: - - 3.12.2 + - '3.12' os: - windows-2025-vs2026 - macOS-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 49832aa75..3948bbf6a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -248,7 +248,7 @@ jobs: fail-fast: false matrix: python: - - 3.12.2 + - '3.12' os: - windows-2025-vs2026 - macOS-latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb25174ee..3f4916edf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,7 +22,7 @@ repos: - id: pyupgrade args: [--py311-plus] - repo: https://github.com/pycqa/isort - rev: 10.0.0b1 + rev: 10.0.0b2 hooks: - id: isort - repo: https://github.com/psf/black-pre-commit-mirror diff --git a/docs/development/testing.md b/docs/development/testing.md index 0c7ec658e..b697caae7 100644 --- a/docs/development/testing.md +++ b/docs/development/testing.md @@ -403,3 +403,7 @@ cd webui && npm test - [Development Guide](index.md) - Complete development setup - [Contributing](contributing.md) - Contribution guidelines - [Code Style](code-style.md) - Code formatting rules + +## CI Python version + +GitHub Actions selects the latest available Python 3.12 patch release for backend checks and packaged builds. Using the minor version keeps the runtime compatible with updated hosted runner images.