code: def parse_python_version(version: str) -> Tuple[int, int]:
      """From XY and X.Y to (X, Y)"""
      match = re.match(r"^([0-9])\.?([0-9]+)$", version)
      if not match:
          raise ReleaseTestConfigError(
              f"Invalid Python version string: {version}"
          )
  
      return int(match.group(1)), int(match.group(2))
  
imports: import copy
  import json
  import os
  import re
  from typing import Dict, List, Optional, Tuple, Any
  import jsonschema
  import yaml
  from ray_release.test import Test, TestDefinition
  from ray_release.anyscale_util import find_cloud_by_name
  from ray_release.bazel import bazel_runfile
  from ray_release.exception import ReleaseTestCLIError, ReleaseTestConfigError
  from ray_release.logger import logger
  from ray_release.util import DeferredEnvVar, deep_update
label_desc: Use image node_id 13 for calling a global function with example usage: parse_python_version(version) and returns: int,  int