From 1a2b3bced1d1a95c385cbcaf0f314f6028034bfd Mon Sep 17 00:00:00 2001 From: MCatherine Date: Tue, 6 Aug 2024 16:36:13 -0700 Subject: [PATCH] fix: Upgrade test container version to fix pipeline issue (#1517) --- .github/workflows/reusable_terraform_server.yml | 4 ++-- .github/workflows/sonar.yml | 6 +++--- server/admin_management/requirements-dev.txt | 2 +- server/auth_function/requirements-dev.txt | 2 +- server/backend/requirements-dev.txt | 2 +- 5 files changed, 8 insertions(+), 8 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 caf2c27a2..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: @@ -67,7 +67,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 diff --git a/server/backend/requirements-dev.txt b/server/backend/requirements-dev.txt index d48f0d044..da3faa411 100644 --- a/server/backend/requirements-dev.txt +++ b/server/backend/requirements-dev.txt @@ -1,7 +1,7 @@ flake8==7.0.0 pytest==7.2.0 pytest-mock==3.14.0 -testcontainers==3.7.1 +testcontainers==4.7.2 testcontainers-core==0.0.1rc1 # used to create the md report used by gha when tests run