Skip to content

Commit d9b8eb0

Browse files
Update Postman collection and upgrade to Python 3.9
* Updated Postman collection * Upgrade Python 3.8 to 3.9 in various instances
1 parent f8284a2 commit d9b8eb0

File tree

8 files changed

+1957
-1544
lines changed

8 files changed

+1957
-1544
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.8
15+
- name: Install Python 3.9
1616
uses: actions/setup-python@v1
1717
with:
18-
python-version: 3.8
18+
python-version: 3.9
1919

2020
- name: Update apt repositories
2121
run: sudo apt update

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ guard-%:
99
install: install-node install-python install-hooks
1010

1111
install-python:
12-
poetry install
12+
poetry install --no-root
1313

1414
install-node:
1515
npm install
@@ -79,4 +79,4 @@ smoketest: pytest-guards
7979
poetry run python -m pytest -v --junitxml=smoketest-report.xml -s -m smoketest
8080

8181
prod-smoketest: pytest-guards
82-
poetry run python -m pytest -v --junitxml=smoketest-report.xml -s -m prodsmoketest
82+
poetry run python -m pytest -v --junitxml=smoketest-report.xml -s -m prodsmoketest

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ name = "pypi"
88
[dev-packages]
99

1010
[requires]
11-
python_version = "3.8"
11+
python_version = "3.9"

azure/azure-build-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ variables:
2626
extends:
2727
template: azure/common/apigee-build.yml@common
2828
parameters:
29+
python_version: 3.9
2930
service_name: ${{ variables.service_name }}
3031
short_service_name: ${{ variables.short_service_name }}
3132

azure/azure-pr-pipeline.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ variables:
2929
extends:
3030
template: azure/common/apigee-deployment.yml@common
3131
parameters:
32+
python_version: 3.9
3233
service_name: ${{ variables.service_name }}
3334
service_base_path: ${{ variables.service_base_path }}
3435
short_service_name: ${{ variables.short_service_name }}

collection/postman_collection.json

Lines changed: 1064 additions & 725 deletions
Large diffs are not rendered by default.

poetry.lock

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

pyproject.toml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
[project]
2-
python = "^3.8"
2+
python = "^3.9"
3+
name = "summary-care-record-api"
34

45

56
[tool.poetry]
67
name = "summary-care-record-api"
7-
version = "0.0.1-alpha"
8-
description = "TODO"
8+
version = "3.0.5-alpha"
9+
description = "NHS Hosted adaptor to convert HL7 based patient Summary Care Records into JSON FHIR, and vice-versa."
910

1011
license = "MIT"
1112

12-
authors = [
13-
#TODO add authors
14-
]
13+
authors = []
1514

1615
readme = 'README.md'
1716

1817
repository = "https://github.com/NHSDigital/summary-care-record-api"
1918

20-
keywords = ["healthcare", "uk", "nhs"] #TODO add additional keywords
21-
19+
keywords = ["healthcare", "uk", "nhs"]
2220

2321
[tool.poetry.dependencies]
2422
certifi = ">=2024.7.4"
@@ -31,14 +29,13 @@ locust = "^1.2"
3129
polling2 = "^0.4.7"
3230
pytest-bdd = "^4.0.1"
3331
pytest-rerunfailures = "^9.1.1"
34-
python = "^3.8"
32+
python = "^3.9"
3533
python-dateutil = "^2.8.1"
3634
pyyaml = "^5.2"
3735
requests = "^2.32.3"
3836
semver = "^2.10.2"
3937
werkzeug = "3.0.3"
4038

41-
4239
[tool.poetry.dev-dependencies]
4340
flake8 = "^3.8.3"
4441
black = "^24.3.0"
@@ -49,5 +46,4 @@ pyjwt = "^2.0.1"
4946
pytest-rerunfailures = "9.1.1"
5047
pip-licenses = "^3.5.3"
5148

52-
5349
[tool.poetry.scripts]

0 commit comments

Comments
 (0)