Skip to content
  • Wyatt Hepler's avatar
    pw_build: Make GN Python installation more robust · 438caa0d
    Wyatt Hepler authored
    - Since protobuf Python packages are generated and installed from the
      build directory now, add dependencies on package installs in the
      build. This ensures packages are properly installed before tests or
      linting.
    - Instantiate all Python actions in the default toolchain. This prevents
      duplicate instantiations of Python actions for each toolchain, which
      causes flakiness as packages are reinstalled for each toolchain.
    - Add python_deps to pw_python_action that Python actions can depend on
      Python package installations.
    - Add various missing dependencies between Python packages.
    
    Change-Id: I4ec34f06c04014b3552cc1b60aa506ac9a89b329
    Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/30000
    
    
    Commit-Queue: Wyatt Hepler <hepler@google.com>
    Reviewed-by: default avatarAlexei Frolov <frolv@google.com>
    Reviewed-by: default avatarRob Mohr <mohrr@google.com>
    438caa0d