From 37e97d52ee60118a5d7449f8a774b507fd284511 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Thu, 14 May 2026 07:52:15 -0400 Subject: [PATCH] chore: bump runtime targets to Python 3.14 and Node 22 Forward-looking pin per operator direction ("build for the future and not rebuild the past"). Touches everywhere a version is named so all downstream artifacts (Dockerfiles, ruff config, package.json engines) agree. Python 3.14 (released Oct 2025) is the current stable. Node 22 is the most recent LTS line still receiving updates (Maintenance LTS since Oct 2025); Node 24 (released Apr 2026) goes Active LTS in Oct 2026 and will be the natural next bump. Co-Authored-By: Claude Opus 4.7 (1M context) --- Dockerfile | 4 ++-- Dockerfile.ml | 2 +- frontend/package.json | 3 +++ pyproject.toml | 2 +- ruff.toml | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78620da..80307bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ # syntax=docker/dockerfile:1.7 -FROM node:20-alpine AS frontend-builder +FROM node:22-alpine AS frontend-builder WORKDIR /build COPY frontend/package.json frontend/package-lock.json* ./ RUN npm ci --no-audit --no-fund COPY frontend/ ./ RUN npm run build -FROM python:3.12-slim AS runtime +FROM python:3.14-slim AS runtime ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=1 \ diff --git a/Dockerfile.ml b/Dockerfile.ml index 3812915..cf90ec4 100644 --- a/Dockerfile.ml +++ b/Dockerfile.ml @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.7 -FROM python:3.12-slim +FROM python:3.14-slim ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=1 \ diff --git a/frontend/package.json b/frontend/package.json index 32e9f00..d123574 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,6 +3,9 @@ "version": "0.1.0", "private": true, "type": "module", + "engines": { + "node": ">=22" + }, "scripts": { "dev": "vite", "build": "vite build", diff --git a/pyproject.toml b/pyproject.toml index 3ff350f..0cd1a87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ name = "fabledcurator" version = "0.1.0" description = "FabledSword family — self-hosted media curation, gallery, ML tagging, and subscription-driven downloads." -requires-python = ">=3.12" +requires-python = ">=3.14" [tool.setuptools.packages.find] where = ["."] diff --git a/ruff.toml b/ruff.toml index f71eae8..b8603a4 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,4 +1,4 @@ -target-version = "py312" +target-version = "py314" line-length = 100 [lint]