From c38cfad39fd04e11dd222f7732cf1709783cb592 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 14:06:58 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20Python?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8156a35..26da678 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-slim AS deps +FROM python:3.14-slim AS deps WORKDIR /app @@ -15,7 +15,7 @@ COPY pyproject.toml pdm.lock LICENSE /app/ RUN pdm install --frozen-lockfile --prod --no-editable --no-self -FROM python:3.11-slim AS model-download +FROM python:3.14-slim AS model-download COPY --from=deps /app/.venv /app/.venv @@ -33,7 +33,7 @@ open_clip.create_model_and_transforms( print("Model weights cached.") EOF -FROM python:3.11-slim AS runtime +FROM python:3.14-slim AS runtime RUN apt-get update && apt-get install -y --no-install-recommends \ libglib2.0-0 \ diff --git a/pyproject.toml b/pyproject.toml index 1e02ffe..97d40d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "embedding-api" version = "0.1.0" description = "CPU-optimized image embedding API using OpenCLIP" readme = "README.md" -requires-python = "==3.11.*" +requires-python = "==3.14.*" dependencies = [ "fastapi>=0.115.0", "uvicorn[standard]>=0.30.0",