Commit a68d6b1
build_distrib: preserve executable permissions in wheel zip entries
ZipFile.write() does not preserve Unix file mode bits, so the subprocess
binary inside the wheel lost its +x permission. pip extracts it as a
non-executable file, and CEF cannot launch the renderer process, leaving
browser windows blank. Use ZipInfo.from_file() which stores the real
file mode in the zip entry's external_attr field.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 75965ca commit a68d6b1
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments