Skip to content

Commit c317408

Browse files
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
1 parent f0f191b commit c317408

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
- name: Install dependencies
7272
run: |
7373
python -m pip install --upgrade pip
74-
pip install safety bandit
74+
pip install "safety==3.4.0" bandit
7575
7676
- name: Check dependencies for security vulnerabilities
7777
run: |

0 commit comments

Comments
 (0)