Skip to content

Commit b877d29

Browse files
authored
chore: update to Python 3.13 in default Docker templates (#665)
some Agents extra dependencies (like aws realtime) require Python 3.12+ we shouldn't need to ship with older versions of Python
1 parent 856a810 commit b877d29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/agentfs/examples/python.pip.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# For more information on the build process, see https://docs.livekit.io/agents/ops/deployment/builds/
33
# syntax=docker/dockerfile:1
44

5-
# Use the official Python base image with Python 3.11
5+
# Use the official Python base image with Python 3.13
66
# We use the slim variant to keep the image size smaller while still having essential tools
7-
ARG PYTHON_VERSION=3.11
7+
ARG PYTHON_VERSION=3.13
88
FROM python:${PYTHON_VERSION}-slim AS base
99

1010
# Keeps Python from buffering stdout and stderr to avoid situations where

pkg/agentfs/examples/python.uv.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# For more information on the build process, see https://docs.livekit.io/agents/ops/deployment/builds/
33
# syntax=docker/dockerfile:1
44

5-
# Use the official UV Python base image with Python 3.11 on Debian Bookworm
5+
# Use the official UV Python base image with Python 3.13 on Debian Bookworm
66
# UV is a fast Python package manager that provides better performance than pip
77
# We use the slim variant to keep the image size smaller while still having essential tools
8-
ARG PYTHON_VERSION=3.11
8+
ARG PYTHON_VERSION=3.13
99
FROM ghcr.io/astral-sh/uv:python${PYTHON_VERSION}-bookworm-slim AS base
1010

1111
# Keeps Python from buffering stdout and stderr to avoid situations where

0 commit comments

Comments
 (0)