Fix ubuntu latest
Solves the following issue(s):
Ubuntu latest test is not working because the docker image ubuntu:latest
now uses Ubuntu 24 with Python 3.12.
Solution: install Python 3.11.
Core changes:
None
Model-specific changes:
None
Documentation changes:
None