You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Move the computing-unit images to Python 3.12 #9654
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.
Activity
aglinxinyuan commentedon Nov 23, 2026
/take
chore(deps, computing-unit): run the images on Python 3.12 (apache#9655)