code: def build_pip_packages(
      config: Config, system: System
  ) -> ActionReturn:
      try:
          system.run("python -m build .", BOKEHJS_ACTION="install")
          return PASSED("pip packages build succeeded")
      except RuntimeError as e:
          return FAILED(
              "pip packages build did NOT succeed", details=e.args
          )
  
imports: from __future__ import annotations
  import json
  from typing import Any, Callable
  from .action import FAILED, PASSED, ActionReturn
  from .config import Config
  from .system import System
  from .util import skip_for_prerelease
label_desc: Use image node_id 5 for calling a global function with example usage: build_pip_packages(config, system) and returns: PASSED, FAILED