Commit ecbd2cd
authored
Port ARM Linux Cirrus fixes to
* CI: Compile and install newer Python for ARM Linux Cirrus
Need this for compatibility with recent gyp-next, from the node-gyp
bump in the latest ppm bump for Pulsar core.
That dependency bump improved our out-of-the-box support for
Python 3.12+, relevant when building packages with native C/C++
addon modules while installing said packages with ppm, or the GUI
package management interface in Pulsar settings (which also uses ppm
under the hood anyway).
We will cache the compiled Python in Cirrus's cache storage system,
much like we cache compiled Python in GitHub Actions caches.
Want to save time and datacenter power use/emissions and such.
Known SHA256 hash of the Python source tarball is hardcoded and checked
for safety/reliability. We can update that hash if we need to build
a different Python version in the future.
(cherry picked from commit b5da98a)
* CI: Install Python setuptools on ARM Linux Cirrus
We are using old Node in CI, which comes with old npm, which comes with
old node-gyp. Yarn uses npm's (in this case, old) copy of node-gyp
by default, so we still need to have Python setuptools installed
for compatibility with old node-gyp x new Python (3.12+) in CI.
Could do 'yarn global add node-gyp@10.2.0' instead, but this also works.
(cherry picked from commit a32576c)updated-latest-electron (#1323)1 parent 1c5b6ca commit ecbd2cd
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
92 | 101 | | |
93 | 102 | | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
97 | 121 | | |
98 | 122 | | |
99 | 123 | | |
| |||
0 commit comments