From 31eade660857c52c780d2bf6a5a6bd5c95db9479 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 11 Oct 2026 11:07:56 +0200 Subject: [PATCH] feat: start new instances on python 3.14 rather than 3.15 Co-Authored-By: Claude Opus 5.5 --- Dockerfile | 2 +- backend/windmill-common/src/worker.rs | 2 +- docker/DockerfileSlim | 2 +- docker/DockerfileSlimEe | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7c33e364b1..a53780c7cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -158,7 +158,7 @@ ARG features="" # (PyVAlias::default() in the backend), NEW_INSTANCE_PY the one new instances start on # (PyVAlias::NEW_INSTANCE). When raising the latter, keep installing every earlier value. ARG LATEST_STABLE_PY=3.12 -ARG NEW_INSTANCE_PY=3.15 +ARG NEW_INSTANCE_PY=3.14 ENV UV_PYTHON_INSTALL_DIR=/tmp/windmill/cache/py_runtime ENV UV_PYTHON_PREFERENCE=only-managed diff --git a/backend/windmill-common/src/worker.rs b/backend/windmill-common/src/worker.rs index 6dd87f2153..ef80ac49ab 100644 --- a/backend/windmill-common/src/worker.rs +++ b/backend/windmill-common/src/worker.rs @@ -2917,7 +2917,7 @@ impl PyVAlias { /// What the server writes into `instance_python_version` when it initializes an instance. /// Raising it also means the images must keep preinstalling every earlier value, or /// instances that started on one download their runtime on first use. - pub const NEW_INSTANCE: PyVAlias = PyVAlias::Py315; + pub const NEW_INSTANCE: PyVAlias = PyVAlias::Py314; pub fn all>() -> Vec { use PyVAlias::*; diff --git a/docker/DockerfileSlim b/docker/DockerfileSlim index 085b3540a8..cafe349236 100644 --- a/docker/DockerfileSlim +++ b/docker/DockerfileSlim @@ -30,7 +30,7 @@ FROM ${DEBIAN_IMAGE} ARG APP=/usr/src/app ARG LATEST_STABLE_PY=3.12.13 -ARG NEW_INSTANCE_PY=3.15.0 +ARG NEW_INSTANCE_PY=3.14.8 # UV configuration ENV UV_CACHE_DIR=/tmp/windmill/cache/uv diff --git a/docker/DockerfileSlimEe b/docker/DockerfileSlimEe index 7a2483067f..5724b40d61 100644 --- a/docker/DockerfileSlimEe +++ b/docker/DockerfileSlimEe @@ -30,7 +30,7 @@ FROM ${DEBIAN_IMAGE} ARG APP=/usr/src/app ARG LATEST_STABLE_PY=3.12.13 -ARG NEW_INSTANCE_PY=3.15.0 +ARG NEW_INSTANCE_PY=3.14.8 # UV configuration ENV UV_CACHE_DIR=/tmp/windmill/cache/uv