From 77e1f14a1f00bc10a0f986d24efb230a5aae3d04 Mon Sep 17 00:00:00 2001 From: catherine meng Date: Tue, 6 Aug 2024 15:14:01 -0700 Subject: [PATCH] fix: update testcontainers version as well python version in pipeline workflow --- .github/workflows/reusable_terraform_server.yml | 4 ++-- .github/workflows/sonar.yml | 4 ++-- server/admin_management/requirements-dev.txt | 2 +- server/auth_function/requirements-dev.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/reusable_terraform_server.yml b/.github/workflows/reusable_terraform_server.yml index f7f239547..cb5d360e3 100644 --- a/.github/workflows/reusable_terraform_server.yml +++ b/.github/workflows/reusable_terraform_server.yml @@ -64,10 +64,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.8" + python-version: "3.12" - name: Auth function zip run: | diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 1f8c0eea6..b4d10f164 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - name: Tests and coverage env: @@ -116,7 +116,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - name: Tests and coverage env: diff --git a/server/admin_management/requirements-dev.txt b/server/admin_management/requirements-dev.txt index 228f9f05d..3e04b2a13 100644 --- a/server/admin_management/requirements-dev.txt +++ b/server/admin_management/requirements-dev.txt @@ -1,5 +1,5 @@ pytest==7.2.0 -testcontainers==3.7.1 +testcontainers==4.7.2 testcontainers-core==0.0.1rc1 # used to create test JWT diff --git a/server/auth_function/requirements-dev.txt b/server/auth_function/requirements-dev.txt index 7e51561ee..a494163b8 100644 --- a/server/auth_function/requirements-dev.txt +++ b/server/auth_function/requirements-dev.txt @@ -3,6 +3,6 @@ black==24.3.0 flake8==7.0.0 pytest-emoji==0.2.0 pytest-md==0.2.0 -testcontainers==3.7.1 +testcontainers==4.7.2 testcontainers-core==0.0.1rc1 requests>=2.32.0 # not directly required, pinned by Snyk to avoid a vulnerability