From 3530ba1dc804f2f7380ed905319c7a88ba14c347 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 18 Apr 2026 01:18:27 +0200 Subject: [PATCH] ci: update Python matrix from 3.12/3.13 to 3.13/3.14 Python 3.12 is in security-only mode (no more bugfixes). Python 3.14 is stable with active bugfix support (3.14.3 released). Run typecheck, lint, and coverage on 3.14 (latest stable). --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5048d30..ea7422f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python: [3.12, 3.13] + python: ['3.13', '3.14'] name: Build OCPP mock server with Python ${{ matrix.python }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} defaults: @@ -44,16 +44,16 @@ jobs: - name: Install Dependencies run: poetry install --no-root - name: Typecheck - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task typecheck - name: Lint - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task lint - name: Test - if: ${{ !(github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.13') }} + if: ${{ !(github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.14') }} run: poetry run task test - name: Test with coverage - if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} + if: ${{ github.repository == 'sap/e-mobility-charging-stations-simulator' && matrix.os == 'ubuntu-latest' && matrix.python == '3.14' }} run: poetry run task test_coverage build-simulator: -- 2.43.0