Bump latest stable to 3.13 (Python)

This commit is contained in:
Pyranota
2025-01-24 19:21:45 +03:00
parent 74bb660b97
commit 9dd688f3fb
3 changed files with 6 additions and 3 deletions

View File

@@ -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

View File

@@ -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,
}

View File

@@ -235,11 +235,12 @@ export const settings: Record<string, Setting[]> = {
// 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",