Commit 9e2f191
committed
Stop compiling Python using
The upstream Python test suite (which gets run when compiling with PGO
enabled) fails with the `libexpat` in Ubuntu 22.04.
In #1661 previously added what I hoped would be a temporarily workaround
until the failures were fixed upstream, however, the Python maintainers
say they don't guarantee compatibility with distro `expat`, and that
it's up to us to test for compatibility and patch if we want to use the
distro version. However, this isn't viable given that we're neither a
Linux distro maintainer, a CPython maintainer or an expat maintainer.
Instead, like the upstream Docker Hub Python images, we will switch the
`expat` bundled within the CPython sources, which is actually what the
upstream CPython project tests in its CI. This means users won't get
security updates for free via the base image, and will instead need to
update their Python patch versions instead as newer versions are
vendored in CPython. However, this is the least worst alternative for
now.
I'm doing this now, since otherwise I'll need to generate another patch
series for the soon to be released Python 3.14.
For more details, see:
python/cpython#125067 (comment)
GUS-W-17414073.--with-system-expat
1 parent 5f8ddb6 commit 9e2f191
File tree
3 files changed
+3
-36
lines changed- builds
3 files changed
+3
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 86 | | |
95 | 87 | | |
96 | 88 | | |
| 89 | + | |
| 90 | + | |
97 | 91 | | |
98 | 92 | | |
99 | 93 | | |
| |||
110 | 104 | | |
111 | 105 | | |
112 | 106 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | 107 | | |
117 | 108 | | |
118 | 109 | | |
| |||
Lines changed: 0 additions & 24 deletions
This file was deleted.
0 commit comments