Skip to content

Commit

Permalink
Bump latest stable to 3.13 (Python)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyranota committed Jan 24, 2025
1 parent 74bb660 commit 9dd688f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion backend/windmill-worker/src/python_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down
3 changes: 2 additions & 1 deletion frontend/src/lib/components/instanceSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 9dd688f

Please sign in to comment.