5.3.1.24.16.3. cli.helpers.python_setup.get_python_version

cli.helpers.python_setup.get_python_version(dry_run: bool = True) tuple[str, str]

Determine the command used to invoke Python 3.12 on this platform.

Parameters:

dry_run – If True, skip process execution and use mocked output.

Returns:

Tuple of executable name and optional version selector argument.