Skip to content

Commit 97a8773

Browse files
authored
Default installs to Python 3.14
Moves AGILAB installer/runtime defaults to Python 3.14 and updates docs, wrappers, Docker/HF defaults, tests, and the docs mirror stamp.
1 parent 62eb75b commit 97a8773

19 files changed

Lines changed: 33 additions & 33 deletions

File tree

.idea/runConfigurations/agilab_run__enduser_.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ COPY pyproject.toml ./pyproject.toml
4040
COPY uv_config.toml ./uv_config.toml
4141
COPY docker/install.sh ./install.sh
4242

43-
ENV AGI_PYTHON_VERSION="3.13.9"
43+
ENV AGI_PYTHON_VERSION="3.14"
4444
ENV AGI_PYTHON_FREE_THREADED="0"
4545
ENV CLUSTER_CREDENTIALS="root:password"
4646
ENV OPENAI_API_KEY="dummykey"

docker/Dockerfile-Worker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN mkdir -p /run/sshd /root/.ssh \
3737
# Allow FUSE mounts (needed for sshfs)
3838
RUN echo "user_allow_other" >> /etc/fuse.conf
3939

40-
ENV AGI_PYTHON_VERSION="3.13.9"
40+
ENV AGI_PYTHON_VERSION="3.14"
4141
ENV AGI_PYTHON_FREE_THREADED="0"
4242
ENV CLUSTER_CREDENTIALS="root:password"
4343

docker/worker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ fi
1010
mkdir -p /root/.agilab /root/.local/share/agilab
1111
cat > /root/.agilab/.env <<EOF
1212
CLUSTER_CREDENTIALS="${CLUSTER_CREDENTIALS:-root:password}"
13-
AGI_PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.13.9}"
13+
AGI_PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.14}"
1414
AGI_PYTHON_FREE_THREADED="${AGI_PYTHON_FREE_THREADED:-0}"
1515
AGI_CLUSTER_SHARE="/root/clustershare"
1616
AGI_LOCAL_SHARE="/root/localshare"

docs/.docs_source_mirror_stamp.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"file_count": 277,
33
"format_version": 1,
44
"managed_target": "docs/source",
5-
"source_digest_sha256": "b719cf60f0ee78a6d62b920813cda12082592eaffa89e81aca96a1e0ac65133e",
5+
"source_digest_sha256": "e269f8bcb563e43e349451bf59b168ecec24a4d7669336690c2f1cafd59ad585",
66
"source_hint": "../thales_agilab/docs/source",
77
"sync_tool": "tools/sync_docs_source.py",
8-
"target_digest_sha256": "b719cf60f0ee78a6d62b920813cda12082592eaffa89e81aca96a1e0ac65133e"
8+
"target_digest_sha256": "e269f8bcb563e43e349451bf59b168ecec24a4d7669336690c2f1cafd59ad585"
99
}

docs/source/environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ rather than shown as one of the workflow pages.
2525
- ``flight_telemetry_project``
2626
- App loaded when no explicit project is provided.
2727
* - ``AGI_PYTHON_VERSION``
28-
- ``3.13``
28+
- ``3.14``
2929
- Default Python version passed to ``uv`` for the manager environment and as the fallback worker version when no host-specific override is set.
3030
* - ``<worker-host>_PYTHON_VERSION``
3131
- unset

install.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,13 +592,13 @@ function Test-SymlinkPrivilege {
592592
function Select-PythonVersion {
593593
Write-Info "Choosing Python version..."
594594
if ($NonInteractiveMode) {
595-
$requested = if (-not [string]::IsNullOrWhiteSpace($env:AGI_PYTHON_VERSION)) { $env:AGI_PYTHON_VERSION } else { "3.13" }
595+
$requested = if (-not [string]::IsNullOrWhiteSpace($env:AGI_PYTHON_VERSION)) { $env:AGI_PYTHON_VERSION } else { "3.14" }
596596
Write-Info "Non-interactive mode; defaulting Python version to $requested"
597597
} else {
598-
$requested = Read-Host "Enter Python major version [3.13]"
598+
$requested = Read-Host "Enter Python major version [3.14]"
599599
}
600600
if ([string]::IsNullOrWhiteSpace($requested)) {
601-
$requested = "3.13"
601+
$requested = "3.14"
602602
}
603603
Write-Info "You selected Python version $requested"
604604

@@ -791,8 +791,8 @@ function Add-DefaultEnvComments {
791791

792792
$existing = @(Get-Content -LiteralPath $EnvFile -ErrorAction SilentlyContinue)
793793
$defaults = @(
794-
'# AGI_PYTHON_VERSION="3.13"',
795-
'# 127.0.0.1_PYTHON_VERSION="3.13"',
794+
'# AGI_PYTHON_VERSION="3.14"',
795+
'# 127.0.0.1_PYTHON_VERSION="3.14"',
796796
'# AGI_PYTHON_FREE_THREADED="1"',
797797
'# IS_SOURCE_ENV="1"',
798798
'# IS_WORKER_ENV="0"',

install.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -911,17 +911,17 @@ install_dependencies() {
911911
choose_python_version() {
912912
echo -e "${BLUE}Choosing Python version...${NC}"
913913
if (( NON_INTERACTIVE )); then
914-
PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.13}"
914+
PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.14}"
915915
echo "Non-interactive mode; defaulting Python version to $PYTHON_VERSION"
916916
else
917917
if [[ -t 0 ]]; then
918-
read -p "Enter Python major version [3.13]: " PYTHON_VERSION
918+
read -p "Enter Python major version [3.14]: " PYTHON_VERSION
919919
else
920-
PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.13}"
920+
PYTHON_VERSION="${AGI_PYTHON_VERSION:-3.14}"
921921
echo "Non-interactive shell; defaulting Python version to $PYTHON_VERSION"
922922
fi
923923
fi
924-
PYTHON_VERSION=${PYTHON_VERSION:-3.13}
924+
PYTHON_VERSION=${PYTHON_VERSION:-3.14}
925925
echo "You selected Python version $PYTHON_VERSION"
926926
available_python_versions=$($UV python list | grep -F -- "$PYTHON_VERSION" | grep -v "freethreaded")
927927
python_array=()
@@ -1093,8 +1093,8 @@ append_default_env_comments() {
10931093
printf '%s\n' "$line" >> "$env_file"
10941094
fi
10951095
done <<'EOF'
1096-
# AGI_PYTHON_VERSION="3.13"
1097-
# 127.0.0.1_PYTHON_VERSION="3.13"
1096+
# AGI_PYTHON_VERSION="3.14"
1097+
# 127.0.0.1_PYTHON_VERSION="3.14"
10981098
# AGI_PYTHON_FREE_THREADED="1"
10991099
# IS_SOURCE_ENV="1"
11001100
# IS_WORKER_ENV="0"

src/agilab/apps/builtin/flight_telemetry_project/src/flight_telemetry_worker/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "flight_telemetry_project"
33
version = "2026.05.30.post1"
44
description = ""
5-
requires-python = ">=3.11,<3.14"
5+
requires-python = ">=3.11,<3.15"
66
readme = "README.md"
77
dependencies = ["agi-env>=2026.05.31", "agi-node>=2026.05.31", "polars>=1.35,<2", "pydantic>=2.12,<2.13"]
88

src/agilab/core/agi-env/src/agi_env/resources/.agilab/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Secrets stay empty or placeholder values until you intentionally set them.
44

55
# Python/runtime
6-
# AGI_PYTHON_VERSION="3.13"
7-
# 127.0.0.1_PYTHON_VERSION="3.13"
6+
# AGI_PYTHON_VERSION="3.14"
7+
# 127.0.0.1_PYTHON_VERSION="3.14"
88
# AGI_PYTHON_FREE_THREADED="1"
99
# IS_SOURCE_ENV="1"
1010
# IS_WORKER_ENV="0"

0 commit comments

Comments
 (0)