Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
with:
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function

- name: Install Python 3.8
- name: Install Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.13

- name: Update apt repositories
run: sudo apt update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
with:
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function

- name: Install Python 3.8
- name: Install Python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.13

- name: Upgrade python pip
run: python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
python 3.11.8
python 3.13.3
poetry 1.5.0
jq 1.6
3 changes: 2 additions & 1 deletion azure/azure-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ extends:
template: azure/common/apigee-build.yml@common
parameters:
service_name: ${{ variables.service_name }}
short_service_name: ${{ variables.short_service_name }}
short_service_name: ${{ variables.short_service_name }}"
python_version: ${{ variables.python_version }}
1 change: 1 addition & 0 deletions azure/azure-pr-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ extends:
short_service_name: ${{ variables.short_service_name }}
service_base_path: ${{ variables.service_base_path }}
hosted_target_connection_path_suffix: ${{ variables.hosted_target_connection_path_suffix }}
python_version: ${{ variables.python_version }}
apigee_deployments:
- environment: internal-dev
jinja_templates:
Expand Down
1 change: 1 addition & 0 deletions azure/azure-release-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ extends:
prod_producer_approval: true
enable_monitoring: true
enable_status_monitoring: true
python_version: ${{ variables.python_version }}
apigee_deployments:
- environment: internal-dev
jinja_templates:
Expand Down
2 changes: 2 additions & 0 deletions azure/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ variables:
value: '{requestpath}'
- name: error_about_link
value: 'https://digital.nhs.uk/developer/api-catalogue/nhs-notify'
- name: python_version
value: '3.13'
1,916 changes: 1,000 additions & 916 deletions poetry.lock

Large diffs are not rendered by default.

62 changes: 29 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,41 @@
[project]
python = "^3.8"

[tool.poetry]
python = "^3.13"
name = "communications-manager"
version = "0.0.1-alpha"
description = "Public facing API for the Communications Manager service"
authors = [
"NHS Digital"
{ name = "NHS Digital" }
]
readme = "README.md"
license = "MIT"
repository = "https://github.com/NHSDigital/communications-manager-api"
homepage = "https://digital.nhs.uk/developer/api-catalogue/nhs-notify"
keywords = ["healthcare", "uk", "nhs", "communications", "email", "sms", "letter"]
requires-python = ">=3.13,<4.0"
dependencies = [
"pytest-nhsd-apim>=5.0.0",
"pytest-xdist>=3.6.1",
"pre-commit>=4.2.0",
"pytest-rerunfailures>=15.1",
"sphinx>=8.2.3",
"sphinx-markdown-builder>=0.6.8",
"notifications-python-client>=10.0.1",
"polling>=0.3.2",
"playwright>=1.52.0",
"install_playwright>=0.1.0",
"flake8>=7.2.0",
"black>=25.1.0",
"pip-licenses>=5.0.0",
"jinja2>=3.1.6",
"pyyaml>=6.0.2",
"docopt>=0.6.2",
"jsonpath-rw>=1.4.0",
"semver>=3.0.4",
"gitpython>=3.1.44",
"pytest>=8.3.5",
"coverage>=7.8.1",
"pytest-asyncio>=0.26.0"
]


[tool.poetry.dependencies]
python = "^3.8"
pytest-nhsd-apim = "^4.0.0"
pytest-xdist = "^3.5.0"
pre-commit = "^3.5.0"
pytest-rerunfailures = "^14.0"
sphinx = "7.1.2"
sphinx-markdown-builder = "^0.6.7"
notifications-python-client = "^9.0.0"
polling = "^0.3.2"
playwright = "^1.48.0"
install_playwright = "^0.1.0"

[tool.poetry.dev-dependencies]
flake8 = "^5.0.4"
black = "^24.4"
pip-licenses = "^4.3.4"
jinja2 = "^3.1.5"
pyyaml = "^6.0"
docopt = "^0.6.2"
jsonpath-rw = "^1.4.0"
semver = "^3.0.2"
gitpython = "^3.1.43"
pytest = "^8.3.4"
coverage = "^7.4.4"
pytest-asyncio = "^0.20.3"

[tool.poetry.scripts]
[tool.poetry]
package-mode = false