Skip to content

Move the computing-unit images to Python 3.12 #9654

Description

@aglinxinyuan

Task Summary

The computing-unit-master and computing-unit-worker runtime stages are based on eclipse-temurin:17-*-jammy and install Ubuntu 22.04's python3, which is 3.10. Python workers run that interpreter whenever udf.python.path is unset. pyamber CI tests only 3.11 to 3.13, ruff targets py311, and AGENTS.md sets 3.12, so a 3.11+ API such as datetime.UTC (caught in review on #9550) passes CI and then raises AttributeError in a deployed worker. Upstream support for 3.10 also ended in October 2026.

Where Python
pyamber CI 3.11, 3.12, 3.13
ruff target-version py311
AGENTS.md 3.12
computing-unit images 3.10 (Ubuntu 22.04's python3)

Base both runtime stages on the Ubuntu 24.04 (noble) Temurin images, whose python3 is 3.12, and install the Python packages into a venv at the front of PATH, since 24.04 marks its system Python as externally managed (PEP 668). The build stages and the other images stay as they are; none of them runs pyamber.

Task Type

  • DevOps / Deployment / CI

Activity

  1. aglinxinyuan commented on Nov 23, 2026

    @aglinxinyuan
    ContributorAuthor

    /take

  2. added a commit that references this issue on Nov 25, 2026
    f06e5d2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions