[3.12] GH-89886: Bump to GNU Autoconf v2.71 (#104925) (#105207) · python/cpython@83c7386

GitHub

Original file line numberDiff line numberDiff line change@@ -143,10 +143,10 @@ jobs:

143143run: echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV

144144 - name: Configure ccache action

145145uses: hendrikmuhs/[email protected]

146- - name: Check Autoconf version 2.69 and aclocal 1.16.3

146+ - name: Check Autoconf and aclocal versions

147147run: |

148- grep "Generated by GNU Autoconf 2.69" configure

149- grep "aclocal 1.16.3" aclocal.m4

148+ grep "Generated by GNU Autoconf 2.71" configure

149+ grep "aclocal 1.16.4" aclocal.m4

150150 grep -q "runstatedir" configure

151151 grep -q "PKG_PROG_PKG_CONFIG" aclocal.m4

152152 - name: Configure CPython

Original file line numberDiff line numberDiff line change@@ -1506,6 +1506,10 @@ Build Changes

1506150615071507* ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer.

150815081509+* Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate

1510+:file:`!configure`.

1511+ (Contributed by Christian Heimes in :gh:`89886`.)

1512+1509151315101514C API Changes

15111515=============

Original file line numberDiff line numberDiff line change@@ -2584,7 +2584,7 @@ regen-configure:

25842584 @if command -v podman >/dev/null; then RUNTIME="podman"; else RUNTIME="docker"; fi; \

25852585 if ! command -v $$RUNTIME; then echo "$@ needs either Podman or Docker container runtime." >&2; exit 1; fi; \

25862586 if command -v selinuxenabled >/dev/null && selinuxenabled; then OPT=":Z"; fi; \

2587- CMD="$$RUNTIME run --rm --pull=always -v $(abs_srcdir):/src$$OPT quay.io/tiran/cpython_autoconf:269"; \

2587+ CMD="$$RUNTIME run --rm --pull=always -v $(abs_srcdir):/src$$OPT quay.io/tiran/cpython_autoconf:271"; \

25882588 echo $$CMD; \

25892589 $$CMD || exit $?

25902590Original file line numberDiff line numberDiff line change@@ -0,0 +1,2 @@

1+Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate

2+:file:`!configure`.