The python3.14 package
  • Python 58%
  • Shell 42%
Find a file
Miro Hrončok f45779a0aa When comparing the pre-built JIT stencils for identity, exclude the checksum
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
2026-04-17 13:32:26 +02:00
.fmf Drop STI and use tmt instead 2025-07-30 16:27:45 +00:00
.gitignore Use prebuilt JIT stencils on platforms without LLVM 19 2025-11-25 19:29:30 +01:00
00251-change-user-install-location.patch Update to Python 3.14.4 2026-04-08 13:03:09 +02:00
00464-enable-pac-and-bti-protections-for-aarch64.patch Update to Python 3.14.0rc1 2025-07-22 22:25:10 +02:00
00466-downstream-only-skip-tests-not-working-with-older-expat-version.patch Update to Python 3.14.4 2026-04-08 13:03:09 +02:00
00474-cve-2025-15366.patch Fix CVE-2025-15366, CVE-2025-15367 2026-02-10 09:55:09 +01:00
00475-cve-2025-15367.patch Fix CVE-2025-15366, CVE-2025-15367 2026-02-10 09:55:09 +01:00
00477-raise-an-error-when-importing-stdlib-modules-compiled-for-a-different-python-version.patch Update to Python 3.14.4 2026-04-08 13:03:09 +02:00
00479-cve-2026-1502.patch Security fixes for CVE-2026-1502, CVE-2026-4786, CVE-2026-5713, CVE-2026-6100 2026-04-16 03:25:31 +02:00
00480-cve-2026-4786.patch Security fixes for CVE-2026-1502, CVE-2026-4786, CVE-2026-5713, CVE-2026-6100 2026-04-16 03:25:31 +02:00
00481-cve-2026-5713.patch Security fixes for CVE-2026-1502, CVE-2026-4786, CVE-2026-5713, CVE-2026-6100 2026-04-16 03:25:31 +02:00
00482-cve-2026-6100.patch Security fixes for CVE-2026-1502, CVE-2026-4786, CVE-2026-5713, CVE-2026-6100 2026-04-16 03:25:31 +02:00
check-pyc-timestamps.py Initial Python 3.13 package forked from Python 3.12 2023-10-19 01:33:48 +02:00
download-jit-stencils-from-koji.sh Use prebuilt JIT stencils on platforms without LLVM 19 2025-11-25 19:29:30 +01:00
idle3.appdata.xml Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
idle3.desktop Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
plan.fmf Update to Python 3.14.3 2026-02-09 16:54:54 +01:00
python3.14.spec When comparing the pre-built JIT stencils for identity, exclude the checksum 2026-04-17 13:32:26 +02:00
rpminspect.yaml rpminspect: Wrap strings with globs with single quotes 2025-08-26 13:26:44 +02:00
rpmlint.toml Use prebuilt JIT stencils on platforms without LLVM 19 2025-11-25 19:29:30 +01:00
sources Update to Python 3.14.4 2026-04-08 13:03:09 +02:00