From 2ac6388eb66f777246019fd72de6b16fac670a2c Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 16:35:27 +0000 Subject: [PATCH 1/6] clean virtual env --- .github/workflows/continous-integration-workflow.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continous-integration-workflow.yaml b/.github/workflows/continous-integration-workflow.yaml index b63cf18fa..8bfb93540 100644 --- a/.github/workflows/continous-integration-workflow.yaml +++ b/.github/workflows/continous-integration-workflow.yaml @@ -24,7 +24,9 @@ jobs: run: pip install poetry - name: Install dependencies - run: poetry install + run: | + poetry env remove --all || true + poetry install - name: Set SPEC_VERSION env var run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py) From 5a0999e599dd1916bb80b263929ed6a2e1aa5076 Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 16:39:09 +0000 Subject: [PATCH 2/6] upgrade python --- .github/workflows/continous-integration-workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continous-integration-workflow.yaml b/.github/workflows/continous-integration-workflow.yaml index 8bfb93540..1e607f658 100644 --- a/.github/workflows/continous-integration-workflow.yaml +++ b/.github/workflows/continous-integration-workflow.yaml @@ -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.10 + - name: Install Python 3.13 uses: actions/setup-python@v6 with: - python-version: '3.10' + python-version: '3.13' - name: Upgrade python packaging tools run: python -m pip install --upgrade pip setuptools wheel From 6e626cac83b6af82760c2807fb3babd95e7fca21 Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 16:43:54 +0000 Subject: [PATCH 3/6] add ignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4e2d304cb..e137e3fa2 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ tests/functional/test_env/ .idea .DS_Store venv +.venv .direnv .#* From 1ccfbfa7870116de33350a3f848463977a963ca8 Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 16:50:26 +0000 Subject: [PATCH 4/6] force remove .venv dir --- .github/workflows/continous-integration-workflow.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/continous-integration-workflow.yaml b/.github/workflows/continous-integration-workflow.yaml index 1e607f658..56b00f8c5 100644 --- a/.github/workflows/continous-integration-workflow.yaml +++ b/.github/workflows/continous-integration-workflow.yaml @@ -25,6 +25,7 @@ jobs: - name: Install dependencies run: | + find . -type d -name ".venv" -exec rm -rf {} + || true poetry env remove --all || true poetry install From 8875681c87e34bdcc78d712009f4e2c36ad03bd4 Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 16:55:34 +0000 Subject: [PATCH 5/6] update python version --- azure/project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure/project.yml b/azure/project.yml index b0571a75e..3aff23fd3 100644 --- a/azure/project.yml +++ b/azure/project.yml @@ -5,4 +5,4 @@ variables: product_display_name: e-Referrals-Service product_description: The NHS e-RS vision is to enable local innovation and adoption of paperless referrals. To support this vision NHS Digital have created a set of APIs which provide a well-defined, simple to use data interface to the NHS e-Referral Service (e-RS). See https://digital.nhs.uk/developer/api-catalogue/e-referral-service-fhir spec_file: e-referrals-service-api.json - python_version: 3.10 + python_version: 3.13 From bffd339917b24e05dc95294035845fc3dc48921c Mon Sep 17 00:00:00 2001 From: Nicole Balmer Date: Wed, 21 Jan 2026 17:03:21 +0000 Subject: [PATCH 6/6] undo unnecessary changes --- .github/workflows/continous-integration-workflow.yaml | 5 +---- .gitignore | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/continous-integration-workflow.yaml b/.github/workflows/continous-integration-workflow.yaml index 56b00f8c5..f8235c867 100644 --- a/.github/workflows/continous-integration-workflow.yaml +++ b/.github/workflows/continous-integration-workflow.yaml @@ -24,10 +24,7 @@ jobs: run: pip install poetry - name: Install dependencies - run: | - find . -type d -name ".venv" -exec rm -rf {} + || true - poetry env remove --all || true - poetry install + run: poetry install - name: Set SPEC_VERSION env var run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py) diff --git a/.gitignore b/.gitignore index e137e3fa2..4e2d304cb 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,6 @@ tests/functional/test_env/ .idea .DS_Store venv -.venv .direnv .#*