diff --git a/docker/build_and_push.Dockerfile b/docker/build_and_push.Dockerfile index ce9405e314..2b7bba2875 100644 --- a/docker/build_and_push.Dockerfile +++ b/docker/build_and_push.Dockerfile @@ -9,7 +9,7 @@ # 1. use python:3.12.3-slim as the base image until https://github.com/pydantic/pydantic-core/issues/1292 gets resolved # 2. do not add --platform=$BUILDPLATFORM because the pydantic binaries must be resolved for the final architecture # Use a Python image with uv pre-installed -FROM ghcr.io/astral-sh/uv:python3.12-trixie-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.14-trixie-slim AS builder # Install the project into `/app` WORKDIR /app @@ -75,7 +75,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # RUNTIME # Setup user, utilities and copy the virtual environment only ################################ -FROM python:3.12-slim-trixie AS runtime +FROM python:3.14-slim-trixie AS runtime RUN apt-get update \ diff --git a/docker/build_and_push_backend.Dockerfile b/docker/build_and_push_backend.Dockerfile index 2fae03032d..0fe2a39ec5 100644 --- a/docker/build_and_push_backend.Dockerfile +++ b/docker/build_and_push_backend.Dockerfile @@ -8,7 +8,7 @@ ################################ # BUILDER ################################ -FROM ghcr.io/astral-sh/uv:python3.12-trixie-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.14-trixie-slim AS builder WORKDIR /app @@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ ################################ # RUNTIME ################################ -FROM python:3.12-slim-trixie AS runtime +FROM python:3.14-slim-trixie AS runtime # Install minimal runtime dependencies RUN apt-get update \ diff --git a/docker/build_and_push_base.Dockerfile b/docker/build_and_push_base.Dockerfile index 228c86fdd8..4ab6369b2b 100644 --- a/docker/build_and_push_base.Dockerfile +++ b/docker/build_and_push_base.Dockerfile @@ -10,7 +10,7 @@ # 1. use python:3.12.3-slim as the base image until https://github.com/pydantic/pydantic-core/issues/1292 gets resolved # 2. do not add --platform=$BUILDPLATFORM because the pydantic binaries must be resolved for the final architecture # Use a Python image with uv pre-installed -FROM ghcr.io/astral-sh/uv:python3.12-trixie-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.14-trixie-slim AS builder # Install the project into `/app` WORKDIR /app @@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # RUNTIME # Setup user, utilities and copy the virtual environment only ################################ -FROM python:3.12-slim-trixie AS runtime +FROM python:3.14-slim-trixie AS runtime RUN apt-get update \ diff --git a/docker/build_and_push_ep.Dockerfile b/docker/build_and_push_ep.Dockerfile index fd0c053669..b88a14fae5 100644 --- a/docker/build_and_push_ep.Dockerfile +++ b/docker/build_and_push_ep.Dockerfile @@ -9,7 +9,7 @@ # 1. use python:3.12.3-slim as the base image until https://github.com/pydantic/pydantic-core/issues/1292 gets resolved # 2. do not add --platform=$BUILDPLATFORM because the pydantic binaries must be resolved for the final architecture # Use a Python image with uv pre-installed -FROM ghcr.io/astral-sh/uv:python3.12-trixie-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.14-trixie-slim AS builder # Install the project into `/app` WORKDIR /app @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # RUNTIME # Setup user, utilities and copy the virtual environment only ################################ -FROM python:3.12-slim-trixie AS runtime +FROM python:3.14-slim-trixie AS runtime RUN apt-get update \ && apt-get upgrade -y \ diff --git a/docker/build_and_push_with_extras.Dockerfile b/docker/build_and_push_with_extras.Dockerfile index 84af837d63..48e016b796 100644 --- a/docker/build_and_push_with_extras.Dockerfile +++ b/docker/build_and_push_with_extras.Dockerfile @@ -9,7 +9,7 @@ # 1. use python:3.12.3-slim as the base image until https://github.com/pydantic/pydantic-core/issues/1292 gets resolved # 2. do not add --platform=$BUILDPLATFORM because the pydantic binaries must be resolved for the final architecture # Use a Python image with uv pre-installed -FROM ghcr.io/astral-sh/uv:python3.12-trixie-slim AS builder +FROM ghcr.io/astral-sh/uv:python3.14-trixie-slim AS builder # Install the project into `/app` WORKDIR /app @@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \ # RUNTIME # Setup user, utilities and copy the virtual environment only ################################ -FROM python:3.12-slim-trixie AS runtime +FROM python:3.14-slim-trixie AS runtime RUN apt-get update \ diff --git a/src/backend/base/pyproject.toml b/src/backend/base/pyproject.toml index 91c5813320..42fe2e56a2 100644 --- a/src/backend/base/pyproject.toml +++ b/src/backend/base/pyproject.toml @@ -2,7 +2,7 @@ name = "langflow-base" version = "0.10.0" description = "A Python package with a built-in web application" -requires-python = ">=3.10,<3.14" +requires-python = ">=3.10,<3.15" license = "MIT" keywords = ["nlp", "langchain", "openai", "gpt", "gui"] readme = "README.md"