The python3.14 package
- Python 58%
- Shell 42%
When autoconf was updated from 2.72 to 2.73, we observed a change in the checksum:
+ diff -u /builddir/build/SOURCES/Python-3.15.0a7-x86_64-debug-jit_stencils.h build/debug/jit_stencils-x86_64-unknown-linux-gnu.h
--- /builddir/build/SOURCES/Python-3.15.0a7-x86_64-debug-jit_stencils.h 2026-03-10 00:00:00.000000000 +0000
+++ build/debug/jit_stencils-x86_64-unknown-linux-gnu.h 2026-03-31 21:12:53.391262973 +0000
@@ -1,4 +1,4 @@
-// 5e1dc452d67c20147c4ea13e692c2d3e7b0b47b24f8847354c58988c7ffa02bc
+// c783e3946f774d4d83e8fdcca35678ec77006e1b96b12661fcbd3ee680d10e94
// $ python3.14 /builddir/build/BUILD/python3.14-3.15.0_a7-build/Python-3.15.0a7/Tools/jit/build.py x86_64-redhat-linux-gnu --output-dir . --pyconfig-dir . --cflags= --llvm-version= --debug
void
error: Bad exit status from /var/tmp/rpm-tmp.G15BYi (%check)
The autoconf-generated pyconfig.h file is part of the checksum input:
https://github.com/python/cpython/blob/v3.15.0a8/Tools/jit/_targets.py#L75
Generally, the reason for this checksum is to prevent outdated JIT stencils
when Python is re-configured with different options
(or when the stencils generation code is updated).
As suspected, the change in checksum was caused by a change in pyconfig.h:
--- pyconfig.h
+++ pyconfig.h
@@ -1882,6 +1882,10 @@
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
+/* Enable extensions on Cosmopolitan Libc. */
+#ifndef _COSMO_SOURCE
+# define _COSMO_SOURCE 1
+#endif
/* Enable general extensions on macOS. */
#ifndef _DARWIN_C_SOURCE
# define _DARWIN_C_SOURCE 1
This is expected, see https://cgit.git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS?h=v2.73#n99
tl;dr when a new autoconf version changes the output of pyconfig.h, the checksum changes as well.
We cannot update the pre-built stencils with the new checksum
because that would make the build fail with older autoconf.
Instead, we ignore the checksum in this check. We care for the contents, not checksums.
Cherry-picked from python3.15 commit aab847c347b141083dbfbcf33fb38fb286dc2f62
|
||
|---|---|---|
| .fmf | ||
| .gitignore | ||
| 00251-change-user-install-location.patch | ||
| 00464-enable-pac-and-bti-protections-for-aarch64.patch | ||
| 00466-downstream-only-skip-tests-not-working-with-older-expat-version.patch | ||
| 00474-cve-2025-15366.patch | ||
| 00475-cve-2025-15367.patch | ||
| 00477-raise-an-error-when-importing-stdlib-modules-compiled-for-a-different-python-version.patch | ||
| 00479-cve-2026-1502.patch | ||
| 00480-cve-2026-4786.patch | ||
| 00481-cve-2026-5713.patch | ||
| 00482-cve-2026-6100.patch | ||
| check-pyc-timestamps.py | ||
| download-jit-stencils-from-koji.sh | ||
| idle3.appdata.xml | ||
| idle3.desktop | ||
| plan.fmf | ||
| python3.14.spec | ||
| rpminspect.yaml | ||
| rpmlint.toml | ||
| sources | ||