code: def get_available_protobuf_versions() -> List[str]:
      """Get a list of available protobuf versions."""
      try:
          output = subprocess.check_output(
              ["pip", "index", "versions", "protobuf"],
          ).decode("utf-8")
          versions = list(
              {o for o in output.split() if o[0].isnumeric()}
          )
          versions = [
              v if not v.endswith(",") else v[:-1] for v in versions
          ]
          return sorted(versions)
      except subprocess.CalledProcessError:
          return []
  
file_path: wandb/tools/check-protobuf-version-compatibility.py
imports: import pathlib
  import platform
  import re
  import subprocess
  import sys
  from typing import List, Tuple
  from pkg_resources import parse_version
label_desc: Use image node_id 1 for calling a global function with example usage: get_available_protobuf_versions() and returns: sorted, list