Skip to content

Commit e0f6175

Browse files
committed
Upgrading python version from 3.12 to 3.14
1 parent 75fb469 commit e0f6175

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
-Dsonar.projectKey=nhsdigital_dos-integration
3939
-Dsonar.coverage.exclusions=tests/**,**/tests/**,infrastructure,application/dos_db_handler/**,test/**,scripts/**,application/conftest.py
4040
-Dsonar.python.coverage.reportPaths=coverage.xml
41-
-Dsonar.python.version=3.12
41+
-Dsonar.python.version=3.14
4242
-Dsonar.exclusions=application/**/tests/**
4343
4444
check-markdown-code-quality:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The main components you will need for _basic_ development work, are your OS vers
100100

101101
- A VPN Client (OpenVPN or Tunnelblick are 2 NHS Digital suggested options)
102102
- Git
103-
- Python (The project currently runs on 3.12)
103+
- Python (The project currently runs on 3.14)
104104
- AWS CLI
105105
- Docker/Podman
106106

build/docker/lambda/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM public.ecr.aws/lambda/python:3.12-arm64
1+
FROM public.ecr.aws/lambda/python:3.14-arm64
22
# Update Pip
33
RUN python -m pip install --upgrade pip
44
# Copy Python requirements

build/docker/tester/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.12
1+
FROM python:3.14
22
# Update Pip
33
RUN python -m pip install --upgrade pip
44
# Copy Python requirements

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ line-length = 120
135135
# Allow unused variables when underscore-prefixed.
136136
lint.dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
137137

138-
# Set target version to Python 3.12.
138+
# Set target version to Python 3.14.
139139
target-version = "py312"
140140

141141
[tool.ruff.lint.per-file-ignores]

test/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ lint.ignore = [
1515
"DTZ007", # the use of `datetime.datetime.strptime()` without %z must be followed by `.replace(tzinfo=)` or `.astimezone()`
1616
]
1717

18-
# Set python version to 3.12.
19-
target-version = "py312"
18+
# Set python version to 3.14.
19+
target-version = "py314"
2020

2121
[tool.ruff.lint.per-file-ignores]
2222
"**test_*.py" = ["S101"] # Allow `assert` in tests.

0 commit comments

Comments
 (0)