code: def download_py_packages(
      branch: str, major: int, minor: int, commit_hash: str, outdir: str
  ) -> None:
      platforms = [
          "win_amd64",
          "manylinux2014_x86_64",
          "manylinux2014_aarch64",
          "macosx_10_15_x86_64.macosx_11_0_x86_64.macosx_12_0_x86_64",
          "macosx_12_0_arm64",
      ]
  
      branch = branch.split("_")[1]  # release_x.y.z
      dir_URL = PREFIX + branch + "/"
      src_filename_prefix = (
          "xgboost-" + args.release + "%2B" + commit_hash + "-py3-none-"
      )
      target_filename_prefix = "xgboost-" + args.release + "-py3-none-"
  
      if not os.path.exists(DIST):
          os.mkdir(DIST)
  
      filenames = download_wheels(
          platforms,
          dir_URL,
          src_filename_prefix,
          target_filename_prefix,
          outdir,
      )
      print("List of downloaded wheels:", filenames)
      print(
          """
  Following steps should be done manually:
  - Upload pypi package by `python3 -m twine upload dist/<Package Name>` for all wheels.
  - Check the uploaded files on `https://pypi.org/project/xgboost/<VERSION>/#files` and
    `pip install xgboost==<VERSION>` """
      )
  
imports: import argparse
  import os
  import shutil
  import subprocess
  import tarfile
  import tempfile
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Tuple, Union
  from urllib.request import urlretrieve
  import tqdm
  from packaging import version
  from sh.contrib import git
label_desc: Use image node_id 6 for calling a global function with example usage: download_py_packages(branch, major, minor, commit_hash, outdir) without return types