From 9e7243cb93c83f2029df11e9b1158dab62fbfb37 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 (cherry picked from commit f485c13035f25ddd6d8023dbfda4c3e462bc4734) --- .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 437063bcebd..306b0be88e9 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