Skip to content

[pull] main from bazel-contrib:main#283

Merged
pull[bot] merged 1 commit into
garymm:mainfrom
bazel-contrib:main
May 24, 2025
Merged

[pull] main from bazel-contrib:main#283
pull[bot] merged 1 commit into
garymm:mainfrom
bazel-contrib:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 24, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Use `os.path.normpath()` to resolve `_main/../repo/` to `repo/` and
convert forward
slashes to backward slashes on Windows.

This fixes an issue where `_main` doesn't exist within runfiles and in
turn the
later assertion that the path to main exists fails (~L542). This
happens,
for example, when packaging a `py_binary` from a foreign repo into a
tar/container.

---------

Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Co-authored-by: Richard Levasseur <rlevasseur@google.com>
@pull pull Bot added the ⤵️ pull label May 24, 2025
@pull pull Bot merged commit 2036571 into garymm:main May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant