Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dill for openSUSE:Factory checked in at 2026-07-08 17:40:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dill (Old) and /work/SRC/openSUSE:Factory/.python-dill.new.1982 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dill" Wed Jul 8 17:40:06 2026 rev:22 rq:1364538 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dill/python-dill.changes 2026-01-20 21:03:20.785080471 +0100 +++ /work/SRC/openSUSE:Factory/.python-dill.new.1982/python-dill.changes 2026-07-08 17:42:39.390264242 +0200 @@ -1,0 +2,5 @@ +Wed Jul 8 12:31:09 UTC 2026 - Markéta Machová <[email protected]> + +- Add upstream py315.patch to fix build with Python 3.15 + +------------------------------------------------------------------- New: ---- py315.patch ----------(New B)---------- New: - Add upstream py315.patch to fix build with Python 3.15 ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dill.spec ++++++ --- /var/tmp/diff_new_pack.4dDEzg/_old 2026-07-08 17:42:39.934283184 +0200 +++ /var/tmp/diff_new_pack.4dDEzg/_new 2026-07-08 17:42:39.938283323 +0200 @@ -29,6 +29,8 @@ License: BSD-3-Clause URL: https://github.com/uqfoundation/dill Source: https://github.com/uqfoundation/dill/archive/refs/tags/%{version}.tar.gz#/dill-%{version}.tar.gz +# PATCH-FIX-UPSTREAM https://github.com/uqfoundation/dill/pull/755 handle missing co_lnotab in 3.15.0b1 +Patch0: py315.patch BuildRequires: %{python_module dbm} BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module objgraph >= 1.7.2} ++++++ py315.patch ++++++ >From 37d2bf717ac7ac110f06be5210f989847959c2cd Mon Sep 17 00:00:00 2001 From: Mike McKerns <[email protected]> Date: Sat, 23 May 2026 17:57:03 -0400 Subject: [PATCH] handle missing co_lntab in 3.15.0b1 (#755) --- dill/_dill.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dill/_dill.py b/dill/_dill.py index 27ab56c6..da8aee22 100644 --- a/dill/_dill.py +++ b/dill/_dill.py @@ -1187,8 +1187,8 @@ def save_code(pickler, obj): with warnings.catch_warnings(): if not OLD312a7: # issue 597 warnings.filterwarnings('ignore', category=DeprecationWarning) - args = ( - obj.co_lnotab, # for < python 3.10 [not counted in args] + args = ( # [not counted in args] + getattr(obj, 'co_lnotab', b''), # for < python 3.10; 3.15.0b1+ obj.co_argcount, obj.co_posonlyargcount, obj.co_kwonlyargcount, obj.co_nlocals, obj.co_stacksize, obj.co_flags, obj.co_code, obj.co_consts, obj.co_names,
