Commit 144bda7
committed
fix(images): pin the pip installed in the salt-master image
Every image build fails since pip 26.2 was published (2026-07-29 21:57 UTC):
TypeError: InstallRequirement.install() got an unexpected keyword
argument 'script_executable'
Salt patches pip through relenv, and 26.2 changed the internals that patch
relies on, so the `salt-pip install` that follows the unpinned
`--upgrade pip` dies. The last green build of this branch (2026-07-28) still
installed 26.1.2, the release before that one.
Pin the upgrade to that version, declared in `versions.py` next to the other
pinned versions and passed as a build argument like `SALT_VERSION`. Keep the
upgrade itself: the pip bundled in the Salt onedir is too old to install the
dependencies below it, which is why it was added when the image moved to
`salt-pip` (7700955), losing the pin the previous pip install had.
`SALT_MASTER_BUILD_ID` goes to 2, since the image content changes.
`development/133.0` is not affected: it still installs the system pip with
its own pin, so there is nothing to merge up.1 parent 72f1e6e commit 144bda7
3 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| 277 | + | |
277 | 278 | | |
278 | 279 | | |
279 | 280 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
88 | 96 | | |
89 | 97 | | |
90 | 98 | | |
91 | | - | |
| 99 | + | |
92 | 100 | | |
93 | 101 | | |
94 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
0 commit comments