The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/computing-unit-python-312 has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
935260dde26f61c202bdfdffd2354206ae1ff9d1 / Xinyuan Lin <[email protected]>
fix(computing-unit): run the images on Python 3.12

The computing-unit images ran Ubuntu 22.04's python3, 3.10, which is
older than any Python pyamber's CI tests (3.11 to 3.13), so a 3.11+ API
could pass CI and fail only in deployed workers. One already does:
since #8768, a UDF that fails to load gets a hint via
BaseException.add_note, which 3.10 lacks, so the worker reports
"AttributeError: ... has no attribute 'add_note'" instead of the
user's error.

Base both runtime stages on the Ubuntu 24.04 (noble) build of the same
Temurin release; its python3 is 3.12. 24.04 marks that Python
externally managed (PEP 668), so the packages go in a venv at
/opt/venv whose bin/ leads PATH, making it the python3 that workers
and PVE creation fall back to. The venv is created in the same layer
as the pip installs, which keeps the layer reproducible. The worker
image gains python3-venv to create it.

Closes #9654

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/45287067323

With regards,
GitHub Actions via GitBox

Reply via email to