From 63ae82068078544cc100b5a32d3d5915e7d71c37 Mon Sep 17 00:00:00 2001 From: Jason Litton Date: Tue, 22 Oct 2024 15:58:23 -0600 Subject: [PATCH] Revert python version bump (#5379) The move to python 3.14 breaks the docker build. The srsly package doesn't have a compatible wheel with anything above 3.12 right now, and it's using deprecated methods, so it can't be built by 3.14 yet. Because of this, `docker build .` is broken on master. Co-authored-by: Marc Vilanova <39573146+mvilanova@users.noreply.github.com> --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 23ae6081f361..a0f0e10ce95f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13.0-slim-bullseye as sdist +FROM python:3.11.4-slim-bullseye as sdist LABEL maintainer="oss@netflix.com" LABEL org.opencontainers.image.title="Dispatch PyPI Wheel" @@ -56,7 +56,7 @@ RUN YARN_CACHE_FOLDER="$(mktemp -d)" \ && mv /usr/src/dispatch/dist /dist # This is the image to be run -FROM python:3.13.0-slim-bullseye +FROM python:3.11.4-slim-bullseye LABEL maintainer="oss@dispatch.io" LABEL org.opencontainers.image.title="Dispatch"