From e64e01400bb4bdd3403dd82f1112851bb93bb5ae Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:18:38 +0000 Subject: [PATCH 1/7] Initial plan From 803a849b5193026cf9d4762836bbac93768e47a2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:40:53 +0000 Subject: [PATCH 2/7] Upgrade FastAPI to 0.114.2 and fix CI compatibility issues Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- .github/workflows/python-check.yaml | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-check.yaml b/.github/workflows/python-check.yaml index 7d6144a..269bfc5 100644 --- a/.github/workflows/python-check.yaml +++ b/.github/workflows/python-check.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest"] + os: ["ubuntu-20.04"] python_version: ["3.10"] steps: - uses: actions/checkout@v4 @@ -27,7 +27,7 @@ jobs: python3 -m pip install --upgrade pip python3 -m pip install -r requirements-dev.txt - name: Lint with ruff - run: ruff check . + run: ruff . - name: Check formatting with black run: black . --check --verbose - name: Run tests diff --git a/requirements.txt b/requirements.txt index ca1aab5..471fee1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ azure-functions>=1.12.0 py-staticmaps==0.4.0 -fastapi==0.111.0 +fastapi==0.114.2 Pillow==9.5.0 nest-asyncio==1.6.0 opentelemetry-instrumentation-fastapi==0.46b0 From 3df51ad695a43d5fd79fd9eaead62a77fa3492ef Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 28 Jul 2025 16:50:26 +0000 Subject: [PATCH 3/7] Change CI to use ubuntu-latest instead of deprecated ubuntu-20.04 Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- .github/workflows/python-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-check.yaml b/.github/workflows/python-check.yaml index 269bfc5..5294b0d 100644 --- a/.github/workflows/python-check.yaml +++ b/.github/workflows/python-check.yaml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-20.04"] + os: ["ubuntu-latest"] python_version: ["3.10"] steps: - uses: actions/checkout@v4 From 47bc787ae31fa8ef84a7b7d5a3dc5af8e79405e3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 05:32:16 +0000 Subject: [PATCH 4/7] Revert ruff command to 'ruff check .' and upgrade ruff to 0.12.5 Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- .github/workflows/python-check.yaml | 2 +- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-check.yaml b/.github/workflows/python-check.yaml index 5294b0d..7d6144a 100644 --- a/.github/workflows/python-check.yaml +++ b/.github/workflows/python-check.yaml @@ -27,7 +27,7 @@ jobs: python3 -m pip install --upgrade pip python3 -m pip install -r requirements-dev.txt - name: Lint with ruff - run: ruff . + run: ruff check . - name: Check formatting with black run: black . --check --verbose - name: Run tests diff --git a/requirements-dev.txt b/requirements-dev.txt index 7186337..a83f7ca 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,5 +3,5 @@ pytest coverage pytest-cov black -ruff +ruff==0.12.5 pre-commit From 0d7a1f2a629f0c634ef70d99ecb476224e04770c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 05:43:13 +0000 Subject: [PATCH 5/7] Upgrade FastAPI to 0.116.1 to fix starlette dependency issue Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 2032062..754136a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ azure-functions>=1.12.0 py-staticmaps==0.4.0 -fastapi==0.114.2 +fastapi==0.116.1 Pillow==9.5.0 nest-asyncio==1.6.0 opentelemetry-instrumentation-fastapi==0.48b0 From 112cc1193acbb53fce1797f4b0d86ad24ad19470 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 05:50:21 +0000 Subject: [PATCH 6/7] Remove ruff version pin to use latest version Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a83f7ca..7186337 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,5 +3,5 @@ pytest coverage pytest-cov black -ruff==0.12.5 +ruff pre-commit From 19358fad02ab67c97f9aba3eabd741b02cf74ed9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 29 Jul 2025 05:57:02 +0000 Subject: [PATCH 7/7] Add fastapi[all] to dev requirements to fix test client dependency Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 7186337..2978363 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ -r requirements.txt +fastapi[all]==0.116.1 pytest coverage pytest-cov