Skip to content

Commit 83bebb4

Browse files
committed
NPA-4334: revert to 3.12 again
1 parent 19e9e3d commit 83bebb4

File tree

8 files changed

+20
-18
lines changed

8 files changed

+20
-18
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.13
15+
- name: Install Python 3.12
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.13
18+
python-version: 3.12
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.13
18+
python-version: 3.12
1919

2020
- name: Install system dependencies (for lxml)
2121
run: |
@@ -46,7 +46,7 @@ jobs:
4646
- name: Set up Python
4747
uses: actions/setup-python@v5
4848
with:
49-
python-version: 3.13
49+
python-version: 3.12
5050

5151
- name: Install Poetry
5252
shell: bash
@@ -72,7 +72,7 @@ jobs:
7272
- name: Set up Python
7373
uses: actions/setup-python@v5
7474
with:
75-
python-version: 3.13
75+
python-version: 3.12
7676

7777
- name: Install Poetry
7878
shell: bash
@@ -98,7 +98,7 @@ jobs:
9898
- name: Set up Python
9999
uses: actions/setup-python@v5
100100
with:
101-
python-version: 3.13
101+
python-version: 3.12
102102

103103
- name: Install Poetry
104104
shell: bash
@@ -124,7 +124,7 @@ jobs:
124124
- name: Set up Python
125125
uses: actions/setup-python@v5
126126
with:
127-
python-version: 3.13
127+
python-version: 3.12
128128

129129
- name: Install Poetry
130130
shell: bash
@@ -150,7 +150,7 @@ jobs:
150150
- name: Set up Python
151151
uses: actions/setup-python@v5
152152
with:
153-
python-version: 3.13
153+
python-version: 3.12
154154

155155
- name: Install Poetry
156156
shell: bash
@@ -173,7 +173,7 @@ jobs:
173173
- name: Set up Python
174174
uses: actions/setup-python@v5
175175
with:
176-
python-version: 3.13
176+
python-version: 3.12
177177

178178
- name: Install Poetry
179179
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.13'
13+
python-version: '3.12'
1414
cache: 'poetry'
1515
- name: Install Sandbox dependencies
1616
run: make install

Dockerfile

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

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

poetry.lock

Lines changed: 5 additions & 3 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.13"
15+
python = "^3.12"
1616

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

sandbox/poetry.lock

Lines changed: 2 additions & 2 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.13"
9+
python = "^3.12"
1010
gunicorn = "^22.0.0"
1111
flask = "^3.0.2"
1212
pyyaml = "^6.0.2"

0 commit comments

Comments
 (0)