gh-115383: Use runner version to compute config.cache key by colesbury · Pull Request #115409 · python/cpython

@colesbury

Our GitHub actions build caches the results of "configure" on macOS and
Linux. Periodically, GitHub releases new images for their actions
runners. This incorporates the runner's OS and image version to compute
the config.cache restore key to avoid using a stale configure cache.

@colesbury colesbury changed the title gh-115383: Use runner version to compute config cache key gh-115383: Use runner version to compute config.cache key

Feb 13, 2024

@colesbury

Default environment variables like "ImageVersion" are not available
through the env context. Unfortunately, ImageVersion is not available in
the "github" context either so we manually re-add it to the environment
as IMAGE_VERSION.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Feb 13, 2024
…onGH-115409)

(cherry picked from commit 4deb705)

Co-authored-by: Sam Gross <colesbury@gmail.com>

hugovk pushed a commit to hugovk/cpython that referenced this pull request

Feb 13, 2024

hugovk pushed a commit that referenced this pull request

Feb 14, 2024

hugovk added a commit that referenced this pull request

Feb 14, 2024

fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request

Feb 14, 2024