Will apt installation of Python 3.10 break the 3.8 version?
The virtualenv utility creates virtual Python instances, each invokable with its own Python executable. Using Python 3.10 in a virtualenv environment will not have any effect on the Python version that is used by default outside the Python virtual environment (Python 3.8 in Ubuntu 20.04).