Skip to content

Commit a1b5bc7

Browse files
committed
NPA-4334: Upgrade Repo To Use Python 3.9
1 parent 56eef9d commit a1b5bc7

File tree

8 files changed

+934
-1016
lines changed

8 files changed

+934
-1016
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v4
1212
with:
13-
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
13+
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1414

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

2020
- name: Upgrade python pip
21-
run: python -m pip install --upgrade pip
21+
run: python -m pip install --upgrade pip
2222

2323
- name: Install git
2424
run: pip install gitpython

.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.8'
13+
python-version: '3.9'
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.8 +
42+
- Python 3.9 +
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.8
1+
FROM python:3.9
22

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

poetry.lock

Lines changed: 731 additions & 805 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.8"
15+
python = "^3.9"
1616

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

sandbox/poetry.lock

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

sandbox/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = []
66
package-mode = false
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
gunicorn = "^22.0.0"
1111
flask = "^3.0.2"
1212
pyyaml = "^6.0.2"

0 commit comments

Comments
 (0)