]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
ci: update Python matrix from 3.12/3.13 to 3.13/3.14
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 23:18:27 +0000 (01:18 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 17 Apr 2026 23:18:27 +0000 (01:18 +0200)
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

index a5048d3008e0e43257b9b9408d1c530690b9f93f..ea7422f21841e3c2236215cc7a47ff22a7dff93c 100644 (file)
@@ -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: