Skip to content

fix: Hotfix for py_binary - #326

Open
nettle wants to merge 1 commit into
Ericsson:mainfrom
nettle:pybinary-hotfix
Open

fix: Hotfix for py_binary#326
nettle wants to merge 1 commit into
Ericsson:mainfrom
nettle:pybinary-hotfix

Conversation

@nettle

@nettle nettle commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Why:
The actions executed a per target symlink to the script py_binary,
and the stub looks for its runfiles next to argv[0],
which fails on a remote worker.
The quoted analyze options collapse into a single argument.

What:

  • Execute the script py_binary via files_to_run, drop the symlinks
  • Pass the analyze options as --analyze=
  • Always use plistlib load and dump, they exist since Python 3.4

@nettle nettle changed the title Hotfix for py_binary fix: Hotfix for py_binary Aug 31, 2026
@nettle nettle self-assigned this Aug 31, 2026
@nettle nettle added the bug Something isn't working label Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant