Skip to content

Commit 6ab61b4

Browse files
committed
NPA-4334: Upgrade Repo To Use Python 3.13
1 parent a1b5bc7 commit 6ab61b4

File tree

9 files changed

+168
-218
lines changed

9 files changed

+168
-218
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
with:
1313
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1414

15-
- name: Install Python 3.9
15+
- name: Install Python 3.13
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.9
18+
python-version: 3.13
1919

2020
- name: Upgrade python pip
2121
run: python -m pip install --upgrade pip

.github/workflows/openapi-validate.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.9
18+
python-version: 3.13
1919

2020
- name: Install Poetry
2121
shell: bash
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set up Python
4242
uses: actions/setup-python@v5
4343
with:
44-
python-version: 3.9
44+
python-version: 3.13
4545

4646
- name: Install Poetry
4747
shell: bash
@@ -67,7 +67,7 @@ jobs:
6767
- name: Set up Python
6868
uses: actions/setup-python@v5
6969
with:
70-
python-version: 3.9
70+
python-version: 3.13
7171

7272
- name: Install Poetry
7373
shell: bash
@@ -93,7 +93,7 @@ jobs:
9393
- name: Set up Python
9494
uses: actions/setup-python@v5
9595
with:
96-
python-version: 3.9
96+
python-version: 3.13
9797

9898
- name: Install Poetry
9999
shell: bash
@@ -119,7 +119,7 @@ jobs:
119119
- name: Set up Python
120120
uses: actions/setup-python@v5
121121
with:
122-
python-version: 3.9
122+
python-version: 3.13
123123

124124
- name: Install Poetry
125125
shell: bash
@@ -145,7 +145,7 @@ jobs:
145145
- name: Set up Python
146146
uses: actions/setup-python@v5
147147
with:
148-
python-version: 3.9
148+
python-version: 3.13
149149

150150
- name: Install Poetry
151151
shell: bash
@@ -168,7 +168,7 @@ jobs:
168168
- name: Set up Python
169169
uses: actions/setup-python@v5
170170
with:
171-
python-version: 3.9
171+
python-version: 3.13
172172

173173
- name: Install Poetry
174174
shell: bash

.github/workflows/sandbox-checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
run: pipx install poetry
1111
- uses: actions/setup-python@v5
1212
with:
13-
python-version: '3.9'
13+
python-version: '3.13'
1414
cache: 'poetry'
1515
- name: Install Sandbox dependencies
1616
run: make install

DEVELOPMENT_GUIDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This documentation is intended for developers to develop the schema, sandbox and
3939
- GNU make
4040
- nodejs 22+
4141
- npm 10.8+
42-
- Python 3.9 +
42+
- Python 3.13 +
4343
- [poetry](https://github.com/python-poetry/poetry) 1.8+
4444
- Java 8+
4545

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9
1+
FROM python:3.13
22

33
COPY ./specification/examples/responses /sandbox/api/examples
44
COPY ./sandbox /sandbox

poetry.lock

Lines changed: 124 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ homepage = "https://digital.nhs.uk/developer/api-catalogue"
1212
keywords = ["healthcare", "uk", "nhs"] #TODO add additional keywords
1313

1414
[tool.poetry.dependencies]
15-
python = "^3.9"
15+
python = "^3.13"
1616

1717
[tool.poetry.group.ci.dependencies]
1818
flake8 = "^3.7.9"

0 commit comments

Comments
 (0)