From 73ea0ae7225fc51de340223a47b1cacc39609364 Mon Sep 17 00:00:00 2001 From: Brian Beggs Date: Mon, 18 Nov 2024 10:49:47 -0500 Subject: [PATCH 1/2] chore: Update python version for transfer-dbt-models-enterprise job. --- dataeng/resources/model-transfers.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dataeng/resources/model-transfers.sh b/dataeng/resources/model-transfers.sh index 72143154d..d8194bf00 100755 --- a/dataeng/resources/model-transfers.sh +++ b/dataeng/resources/model-transfers.sh @@ -2,9 +2,9 @@ set -ex # Creating python 3.8 virtual environment to run dbt warehouse-transform job -PYTHON38_VENV="py38_venv" -virtualenv --python=python3.8 --clear "${PYTHON38_VENV}" -source "${PYTHON38_VENV}/bin/activate" +PYTHON_VENV="py312_venv" +virtualenv --python=python3.12 --clear "${PYTHON_VENV}" +source "${PYTHON_VENV}/bin/activate" # Setup cd $WORKSPACE/warehouse-transforms From c66f0afca948b6571d8a9785ae9e5f43d4f9ec0b Mon Sep 17 00:00:00 2001 From: Brian Beggs Date: Tue, 19 Nov 2024 09:59:03 -0500 Subject: [PATCH 2/2] chore: Update model transfer script to use python3.12 virtualenv. --- dataeng/resources/model-transfers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataeng/resources/model-transfers.sh b/dataeng/resources/model-transfers.sh index d8194bf00..9abe3816d 100755 --- a/dataeng/resources/model-transfers.sh +++ b/dataeng/resources/model-transfers.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash set -ex -# Creating python 3.8 virtual environment to run dbt warehouse-transform job +# Creating python 3.12 virtual environment to run dbt warehouse-transform job PYTHON_VENV="py312_venv" -virtualenv --python=python3.12 --clear "${PYTHON_VENV}" +/opt/python3.12/bin/python3.12 -m virtualenv --python=python3.12 --clear "${PYTHON_VENV}" source "${PYTHON_VENV}/bin/activate" # Setup