Currently, the flake8 pipeline uses python3.8 image. This old image limits the supported versions of PySide6, so we need to update the image to a more recent one so that we can request more recent PySide6 versions.
The updated PySide constraint is only for testing purpose in the previous commit. The constraint will be updated in other MRs when needed.