roll: pigweed pw_build: Fix pw_python_venv generated requirements

pw_python_venv was always adding the //pw_build/py gn target to the
list of dependencies to base the generated requirements on. This is
usually not an issue if pw_build is included. However if it isn't
needed extra 3p deps were always getting added from pw_build
regardless.

For example if a venv only needed //pw_docgen/py and //pw_status/py
the generated_requirements would include all these extra packages due
to pw_build being added in along with all their 3p deps:

  //pw_arduino_build/py:py
  //pw_build/py:py
  //pw_cli/py:py
  //pw_config_loader/py:py
  //pw_docgen/py:py
  //pw_env_setup/py:py
  //pw_package/py:py
  //pw_presubmit/py:py
  //pw_status/py:py
  //pw_stm32cube_build/py:py

This change fixes it so only these two are added:

  //pw_docgen/py:py
  //pw_status/py:py

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/240792
Original-Revision: 87f43fec003b4befd74b2362962a76dff7105253

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: 29fc404197899d..87f43fec003b4b
Roller-URL: https://ci.chromium.org/b/8734696786857186577
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I7efd8bedbf0ce0ef04f5645a686a5498491f2844
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/240793
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 file changed
tree: b547058c387211719d379816669f1696b2a5f6d4
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .buildifier.json
  14. .clang-format
  15. .clangd.shared
  16. .gitignore
  17. .pw_console.yaml
  18. AUTHORS
  19. BUILD.bazel
  20. CONTRIBUTING.md
  21. LICENSE
  22. MODULE.bazel
  23. MODULE.bazel.lock
  24. OWNERS
  25. pigweed.json
  26. README.md
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.