Skip to content

Commit

Permalink
Merge pull request #657 from Health-Informatics-UoN/feat/640/upgrade-…
Browse files Browse the repository at this point in the history
…functions-python311

Update Azure functions to Python 3.11
  • Loading branch information
AndyRae authored Mar 21, 2024
2 parents e94d072 + f280536 commit dc0d162
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: './app/workers'
PYTHON_VERSION: '3.8'
PYTHON_VERSION: '3.11'

jobs:
build-and-publish-workers:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.11']
python-version: ['3.11']

steps:
- uses: actions/checkout@v3
Expand Down
94 changes: 2 additions & 92 deletions app/workers/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/workers/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Sam Cox <[email protected]>", "Philip Quinlan <philip.quinlan
license = "MIT"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.11"
azure-common = "^1.1.28"
azure-functions = "^1.18.0"
azure-storage-blob = "12.8.1"
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Please append a line to the changelog for each change made.
- Restructure repo to separate dependencies.
- Extract Azure function ProcessQueue, into UploadQueue and CreateConcepts. Moving the upload to be standalone, and creating concepts and reusing them to when the user sets the Person ID and Date Event per table.
- Updated the CSV export function - reordered the columns and added new columns (class, concept, validity and vocabulary).
- Update the Azure functions to use Python 3.11
### Bugfixes
- Bug fixed in `find_existing_scan_report_concepts()` which was causing some `SRConcepts` to be processed multiple times. This didn't cause any issues, but was misleading and wasteful.
- Fixed hardcoded `content_type` id used in the backend, client, and workers.
Expand Down

0 comments on commit dc0d162

Please sign in to comment.