You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Means the `pyexpat` module is now built using the `expat` library from
the stack image (rather than CPython's vendored version), so that:
- any security fixes are automatically picked up from the stack image,
without requiring a Python version update/new app build (the Python
vendored version is also very rarely updated)
- our Python runtime more closely matches that of the official Python
Docker image and other binary distributions
- (as a small added bonus) the Python runtime size in the slug is slightly
smaller (eg 80% reduction in `pyexpat.*.so`, saving ~1.2MB)
See:
https://docs.python.org/3/using/configure.html#cmdoption-with-system-expathttps://github.com/docker-library/python/blob/1cf43e70e45843c70909a5f914c3c6d0f85fc200/Dockerfile-linux.template#L161
The current Python vendored expat version is `2.4.7` (that's only because it's
just been bumped, for the first time in a while, in general it's infrequently
updated).
The current expat versions in the stack images, are:
- Heroku-18: `2.2.5-3ubuntu0.7`
- Heroku-20: `2.2.9-1ubuntu0.4`
- Heroku-22 (upcoming): `2.4.7-1`
GUS-W-8060029.
0 commit comments