From 9dd688f3fbaae8ec6c2d8c8ca5a466ab6bcefa3e Mon Sep 17 00:00:00 2001 From: Pyranota Date: Fri, 24 Jan 2025 19:21:45 +0300 Subject: [PATCH] Bump latest stable to 3.13 (Python) --- Dockerfile | 3 ++- backend/windmill-worker/src/python_executor.rs | 3 ++- frontend/src/lib/components/instanceSettings.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8e45b675a1008..1cddb360d9fff 100644 --- a/Dockerfile +++ b/Dockerfile @@ -99,7 +99,8 @@ ARG WITH_GIT=true # 1. Change placeholder in instanceSettings.ts # 2. Change LATEST_STABLE_PY in dockerfile # 3. Change #[default] annotation for PyVersion in backend -ARG LATEST_STABLE_PY=3.11.10 +# You can also index these places by this stroke: CLSPY +ARG LATEST_STABLE_PY=3.13.1 ENV UV_PYTHON_INSTALL_DIR=/tmp/windmill/cache/py_runtime ENV UV_PYTHON_PREFERENCE=only-managed diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index 4d3a946926021..22a488f62d4bf 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -95,12 +95,13 @@ use crate::{ // 1. Change placeholder in instanceSettings.ts // 2. Change LATEST_STABLE_PY in dockerfile // 3. Change #[default] annotation for PyVersion in backend +// You can also index these places by this stroke: CLSPY #[derive(Eq, PartialEq, Clone, Copy, Default, Debug)] pub enum PyVersion { Py310, - #[default] Py311, Py312, + #[default] Py313, } diff --git a/frontend/src/lib/components/instanceSettings.ts b/frontend/src/lib/components/instanceSettings.ts index 75af6e568c349..a96ba1cb8ee11 100644 --- a/frontend/src/lib/components/instanceSettings.ts +++ b/frontend/src/lib/components/instanceSettings.ts @@ -235,11 +235,12 @@ export const settings: Record = { // 1. Change placeholder in instanceSettings.ts // 2. Change LATEST_STABLE_PY in dockerfile // 3. Change #[default] annotation for PyVersion in backend + // You can also index these places by this stroke: CLSPY placeholder: '3.10,3.11,3.12,3.13', select_items: [{ label: "Latest Stable", value: "default", - tooltip: "python-3.11", + tooltip: "python-3.13", }, { label: "3.10",