From 2a840cc9d98ac8e9ed9fa5ad8a14be22e325cbe5 Mon Sep 17 00:00:00 2001 From: sfitz42 <87677173+sfitz42@users.noreply.github.com> Date: Thu, 19 Feb 2026 14:56:45 +0000 Subject: [PATCH] Fix sonar properties coverage bug --- .python-version | 2 +- Dockerfile | 2 +- pyproject.toml | 7 +++---- sonar-project.properties | 3 ++- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.python-version b/.python-version index 3b2cfc0..da71773 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.12.10 +3.14.3 diff --git a/Dockerfile b/Dockerfile index 3deaed3..849e67a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Set default values for build arguments -ARG PARENT_VERSION=latest-3.12 +ARG PARENT_VERSION=2.2.0-python3.14.3 ARG PORT=8085 ARG PORT_DEBUG=8086 diff --git a/pyproject.toml b/pyproject.toml index a24491e..42ef84e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,13 +3,13 @@ name = "cdp-python-backend-template" version = "0.1.0" description = "CDP Python Backend Template" readme = "README.md" -requires-python = ">=3.12" +requires-python = ">=3.14" dependencies = [ "asgi-logger==0.1.0", "aws-embedded-metrics==3.3.0", "dnspython==2.7.0", "ecs-logging==2.2.0", - "fastapi==0.115.12", + "fastapi==0.129.0", "httpx==0.28.1", "pydantic-settings==2.9.1", "pymongo[aws,encryption,snappy,zstd]==4.13.1", @@ -18,12 +18,11 @@ dependencies = [ [dependency-groups] dev = [ - "httpx==0.28.1", "pre-commit==4.2.0", "pytest==8.4.0", "pytest-asyncio==1.0.0", "pytest-cov==6.2.1", - "pytest-mock>=3.15.1", + "pytest-mock==3.15.1", "ruff==0.11.13", "taskipy==1.14.1", ] diff --git a/sonar-project.properties b/sonar-project.properties index 3dda882..4898155 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -17,4 +17,5 @@ sonar.exclusions=app/**/test_*.py sonar.tests=tests/ sonar.test.inclusions=app/**/test_*.py -sonar.javascript.lcov.reportPaths=./coverage/lcov.info +sonar.python.version=3.14 +sonar.python.lcov.reportPaths=./coverage/lcov.info