From c317408b6d6ad7eabeffb6a36bfd944e9486aada Mon Sep 17 00:00:00 2001 From: Parman Date: Mon, 1 Sep 2025 11:30:05 +0330 Subject: [PATCH 1/2] Fix security test by pinning safety to v3.4.0 - Pin safety version to 3.4.0 to avoid typer compatibility issues - Safety 3.4.0 works with both old and new typer versions - Resolves AttributeError: module 'typer' has no attribute 'rich_utils' - Uses check command which doesn't require authentication in CI --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff68e0b..93c720d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,7 +71,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install safety bandit + pip install "safety==3.4.0" bandit - name: Check dependencies for security vulnerabilities run: | From 09e20df0856fb59442366c99356048bd298cf0ae Mon Sep 17 00:00:00 2001 From: Parman Date: Mon, 1 Sep 2025 11:50:37 +0330 Subject: [PATCH 2/2] pinned typer version --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 93c720d..cf49012 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,7 +71,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install "safety==3.4.0" bandit + pip install "safety==3.4.0" "typer<0.16.0" bandit - name: Check dependencies for security vulnerabilities run: |