From f485c13035f25ddd6d8023dbfda4c3e462bc4734 Mon Sep 17 00:00:00 2001 From: Matthew McKnight <91097623+McKnight-42@users.noreply.github.com> Date: Thu, 17 Aug 2023 14:18:28 -0500 Subject: [PATCH] revert python version for docker images (#8445) * revert python version for docker images * add comment to not update python version, update changelog --- .changes/unreleased/Fixes-20230817-130915.yaml | 6 ++++++ docker/Dockerfile | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixes-20230817-130915.yaml diff --git a/.changes/unreleased/Fixes-20230817-130915.yaml b/.changes/unreleased/Fixes-20230817-130915.yaml new file mode 100644 index 00000000000..2bd199925a7 --- /dev/null +++ b/.changes/unreleased/Fixes-20230817-130915.yaml @@ -0,0 +1,6 @@ +kind: Under the Hood +body: Use python version 3.10.7 in Docker image. +time: 2023-08-17T13:09:15.936349-05:00 +custom: + Author: McKnight-42 + Issue: "8444" diff --git a/docker/Dockerfile b/docker/Dockerfile index f1a44a11763..7d93592fc2e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -9,7 +9,9 @@ ARG build_for=linux/amd64 ## # base image (abstract) ## -FROM --platform=$build_for python:3.11.2-slim-bullseye as base +# Please do not upgrade beyond python3.10.7 currently as dbt-spark does not support +# 3.11py and images do not get made properly +FROM --platform=$build_for python:3.10.7-slim-bullseye as base # N.B. The refs updated automagically every release via bumpversion # N.B. dbt-postgres is currently found in the core codebase so a value of dbt-core@ is correct