[roll] Roll fuchsia [bazel][python] Improve launcher script in toolchain

... by following symlinks to determine directory for the real
interpreter and library zip archive.

Newer versions of rules_python [0] create a .venv directory and symlink
the script into the directory. The fuchsia python prebuilt launcher
script will fail to find its accompanying files (like python3.11-real
and the lib zip) because it relied on $BASH_SOURCE[0] without resolving
the symlink.

This patch updates the python launcher generation to use realpath,
ensuring the script directory resolves to the original repository path
where the dependencies actually exist.

[0] https://rules-python.readthedocs.io/en/latest/changelog.html#v2-0-0

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1677914
Original-Original-Revision: be56b47b629c251b728620830b88f6191640405d
GitOrigin-RevId: d85bbdcf94c00a8ed4188e156155322a430ef3a2
Change-Id: Ia6ab29bb2bdaa64f2542a4840f36fe1ec1777add
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1680603
Cr-Commit-Position: refs/heads/main@{#195583}
1 file changed
tree: 591bd4efc35d263e054eb5ab904aee7097e646a3
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.