Skip to content

Commit 0e2314d

Browse files
committed
add python_version block to config templates
1 parent 5324424 commit 0e2314d

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

tesseract_core/sdk/templates/base/tesseract_config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ build_config:
1717
# Base image to use for the container, must be Ubuntu or Debian-based
1818
# base_image: "debian:bookworm-slim"
1919

20+
# Python version to use inside the container (e.g. "3.12"). When set, the given
21+
# version is installed via `uv python install`, decoupling it from the base
22+
# image. When unset, the base image's system Python is used. Cannot be combined
23+
# with conda requirements; set the version in tesseract_environment.yaml instead.
24+
# python_version: "3.12"
25+
2026
# Platform to build the container for. In general, images can only be executed
2127
# on the platform they were built for.
2228
target_platform: "native"

tesseract_core/sdk/templates/jax/tesseract_config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ build_config:
1717
# Base image to use for the container, must be Ubuntu or Debian-based
1818
# base_image: "debian:bookworm-slim"
1919

20+
# Python version to use inside the container (e.g. "3.12"). When set, the given
21+
# version is installed via `uv python install`, decoupling it from the base
22+
# image. When unset, the base image's system Python is used. Cannot be combined
23+
# with conda requirements; set the version in tesseract_environment.yaml instead.
24+
# python_version: "3.12"
25+
2026
# Platform to build the container for. In general, images can only be executed
2127
# on the platform they were built for.
2228
target_platform: "native"

tesseract_core/sdk/templates/pytorch/tesseract_config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ build_config:
1717
# Base image to use for the container, must be Ubuntu or Debian-based
1818
# base_image: "debian:bookworm-slim"
1919

20+
# Python version to use inside the container (e.g. "3.12"). When set, the given
21+
# version is installed via `uv python install`, decoupling it from the base
22+
# image. When unset, the base image's system Python is used. Cannot be combined
23+
# with conda requirements; set the version in tesseract_environment.yaml instead.
24+
# python_version: "3.12"
25+
2026
# Platform to build the container for. In general, images can only be executed
2127
# on the platform they were built for.
2228
target_platform: "native"

0 commit comments

Comments
 (0)