From ccb5d6ac51e975df5d43306674fd20cf37117fdc Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 11 Oct 2026 18:50:51 +0200 Subject: [PATCH] feat: start new instances on python 3.13 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 a53780c7cd..14ed1d7ba1 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.14 +ARG NEW_INSTANCE_PY=3.13 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 ef80ac49ab..30eb2403b1 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::Py314; + pub const NEW_INSTANCE: PyVAlias = PyVAlias::Py313; pub fn all>() -> Vec { use PyVAlias::*; diff --git a/docker/DockerfileSlim b/docker/DockerfileSlim index cafe349236..ef976f83d3 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.14.8 +ARG NEW_INSTANCE_PY=3.13.16 # UV configuration ENV UV_CACHE_DIR=/tmp/windmill/cache/uv diff --git a/docker/DockerfileSlimEe b/docker/DockerfileSlimEe index 5724b40d61..67de36eac7 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.14.8 +ARG NEW_INSTANCE_PY=3.13.16 # UV configuration ENV UV_CACHE_DIR=/tmp/windmill/cache/uv