Skip to content

Commit d69955c

Browse files
authored
fixed #14184 - added/updated to Python 3.14 in CI (danmar#7874)
1 parent 4db2868 commit d69955c

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

.github/workflows/CI-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ jobs:
9191
with:
9292
persist-credentials: false
9393

94-
- name: Set up Python 3.13
94+
- name: Set up Python
9595
if: matrix.config == 'release'
9696
uses: actions/setup-python@v5
9797
with:
98-
python-version: '3.13'
98+
python-version: '3.14'
9999
check-latest: true
100100

101101
- name: Set up Visual Studio environment

.github/workflows/asan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
3838

39-
- name: Set up Python 3.13
39+
- name: Set up Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: '3.13'
42+
python-version: '3.14'
4343
check-latest: true
4444

4545
- name: Install missing software on ubuntu

.github/workflows/scriptcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
runs-on: ubuntu-22.04
4949
strategy:
5050
matrix:
51-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
51+
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13', '3.14']
5252
include:
53-
- python-version: '3.13'
53+
- python-version: '3.14'
5454
python-latest: true
5555

5656
fail-fast: false

.github/workflows/tsan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
3838

39-
- name: Set up Python 3.13
39+
- name: Set up Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: '3.13'
42+
python-version: '3.14'
4343
check-latest: true
4444

4545
- name: Install missing software on ubuntu

.github/workflows/ubsan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
with:
3737
key: ${{ github.workflow }}-${{ github.job }}-${{ matrix.os }}
3838

39-
- name: Set up Python 3.13
39+
- name: Set up Python
4040
uses: actions/setup-python@v5
4141
with:
42-
python-version: '3.13'
42+
python-version: '3.14'
4343
check-latest: true
4444

4545
- name: Install missing software on ubuntu

addons/misra.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import re
2323
import os
2424
import argparse
25-
import codecs
2625
import string
2726
import copy
2827

@@ -4525,7 +4524,7 @@ def loadRuleTexts(self, filename):
45254524
encodings = ['ascii', 'utf-8', 'windows-1250', 'windows-1252']
45264525
for e in encodings:
45274526
try:
4528-
file_stream = codecs.open(filename, 'r', encoding=e)
4527+
file_stream = open(filename, 'r', encoding=e)
45294528
file_stream.readlines()
45304529
file_stream.seek(0)
45314530
except UnicodeDecodeError:

tools/release-set-version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def check_sed(args):
8181
check_sed(['-i', '-r', f's/<[?]define ProductName[ ]*=.*/<?define ProductName = "Cppcheck $(var.Platform) {cppcheck_version_string}" ?>/', 'win_installer/productInfo.wxi'])
8282
check_sed(['-i', '-r', f's/<[?]define ProductVersion[ ]*=.*/<?define ProductVersion = "{new_version}" ?>/', 'win_installer/productInfo.wxi'])
8383
for g in glob.glob('man/*.md'):
84-
check_sed(['-i', '-r', f's/subtitle: Version 2\.[0-9].*/subtitle: Version {cppcheck_version_string}/', g])
84+
check_sed(['-i', '-r', f's/subtitle: Version 2\\.[0-9].*/subtitle: Version {cppcheck_version_string}/', g])
8585
print('Versions have been changed.')
8686
print('')
8787
print('Please double check these results below:')

0 commit comments

Comments
 (0)