URL:
https://github.com/freeipa/freeipa/pull/4484
Author: stanislavlevin
Title: #4484: Azure: Allow distros to install Python they want
Action: opened
PR body:
"""
The platforms may have different Pythons. But due to [0] the Python installed via the
'UsePythonVersion@0' task should be compatible with the container's
`libpythonxx.so`.
`AZURE_PYTHON_VERSION` platform variable is introduced to cover this. So, if your distro
has Python3.8, set the mentioned variable to '3.8', later, this version will be
installed by the `UsePythonVersion@0` Azure task for `WebUI_Unit_Tests` and `Tox`
jobs.
To allow tox to run any Python3 environment the 'py3' one is used. 'py3'
is the well-known Tox's environment, which utilizes 'python3' executable.
[0]:
https://github.com/microsoft/azure-pipelines-tasks/issues/11070
Fixes:
https://pagure.io/freeipa/issue/8254
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4484/head:pr4484
git checkout pr4484