Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python314 for openSUSE:Factory checked in at 2025-09-12 21:10:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python314 (Old) and /work/SRC/openSUSE:Factory/.python314.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python314" Fri Sep 12 21:10:34 2025 rev:24 rq:1304274 version:3.14.0~rc2 Changes: -------- --- /work/SRC/openSUSE:Factory/python314/python314.changes 2025-09-09 20:31:13.755714849 +0200 +++ /work/SRC/openSUSE:Factory/.python314.new.1977/python314.changes 2025-09-12 21:11:45.256854445 +0200 @@ -1,0 +2,7 @@ +Fri Sep 12 07:46:55 UTC 2025 - Daniel Garcia <daniel.gar...@suse.com> + +- Add gh138131-exclude-pycache-from-digest.patch fixing reproducible + build for python-nogil. + (bsc#1244680, gh#python/cpython#138131) + +------------------------------------------------------------------- New: ---- gh138131-exclude-pycache-from-digest.patch ----------(New B)---------- New: - Add gh138131-exclude-pycache-from-digest.patch fixing reproducible build for python-nogil. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python314.spec ++++++ --- /var/tmp/diff_new_pack.NA80gD/_old 2025-09-12 21:11:46.256896613 +0200 +++ /var/tmp/diff_new_pack.NA80gD/_new 2025-09-12 21:11:46.256896613 +0200 @@ -222,6 +222,8 @@ # PATCH-FIX-UPSTREAM bsc1243155-sphinx-non-determinism.patch bsc#1243155 mc...@suse.com # Doc: Generate ids for audit_events using docname Patch41: bsc1243155-sphinx-non-determinism.patch +# PATCH-FIX-UPSTREAM gh138131-exclude-pycache-from-digest.patch bsc#1244680 daniel.gar...@suse.com +Patch44: gh138131-exclude-pycache-from-digest.patch #### Python 3.14 DEVELOPMENT PATCHES BuildRequires: autoconf-archive BuildRequires: automake ++++++ gh138131-exclude-pycache-from-digest.patch ++++++ >From 4bb41b28d5bac09bccd636d8c5fefe1a462f63a7 Mon Sep 17 00:00:00 2001 From: Alm <alon.menc...@gmail.com> Date: Mon, 25 Aug 2025 08:56:38 +0300 Subject: [PATCH 1/4] Exclude .pyc files from the computed digest in the jit stencils --- Tools/jit/_targets.py | 3 +++ 1 file changed, 3 insertions(+) Index: Python-3.14.0rc2/Tools/jit/_targets.py =================================================================== --- Python-3.14.0rc2.orig/Tools/jit/_targets.py +++ Python-3.14.0rc2/Tools/jit/_targets.py @@ -69,6 +69,9 @@ class _Target(typing.Generic[_S, _R]): hasher.update(PYTHON_EXECUTOR_CASES_C_H.read_bytes()) hasher.update((self.pyconfig_dir / "pyconfig.h").read_bytes()) for dirpath, _, filenames in sorted(os.walk(TOOLS_JIT)): + # Exclude cache files from digest computation to ensure reproducible builds. + if dirpath.endswith("__pycache__"): + continue for filename in filenames: hasher.update(pathlib.Path(dirpath, filename).read_bytes()) return hasher.hexdigest() Index: Python-3.14.0rc2/Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst =================================================================== --- /dev/null +++ Python-3.14.0rc2/Misc/NEWS.d/next/Build/2025-08-27-09-52-45.gh-issue-138061.fMVS9w.rst @@ -0,0 +1 @@ +Ensure reproducible builds by making JIT stencil header generation deterministic.