Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ply for openSUSE:Factory 
checked in at 2026-07-09 22:18:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ply (Old)
 and      /work/SRC/openSUSE:Factory/.python-ply.new.1991 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ply"

Thu Jul  9 22:18:08 2026 rev:33 rq:1364407 version:3.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ply/python-ply.changes    2023-12-14 
22:02:26.106540649 +0100
+++ /work/SRC/openSUSE:Factory/.python-ply.new.1991/python-ply.changes  
2026-07-09 22:18:20.644012175 +0200
@@ -1,0 +2,5 @@
+Thu Jul  2 07:33:23 UTC 2026 - Dirk Müller <[email protected]>
+
+- add py315-testfails.patch: fix build with python 3.15+
+
+-------------------------------------------------------------------

New:
----
  py315-testfails.patch

----------(New B)----------
  New:
- add py315-testfails.patch: fix build with python 3.15+
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ply.spec ++++++
--- /var/tmp/diff_new_pack.G8HE33/_old  2026-07-09 22:18:21.216031576 +0200
+++ /var/tmp/diff_new_pack.G8HE33/_new  2026-07-09 22:18:21.220031712 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ply
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/ply/ply-%{version}.tar.gz
 Patch0:         python-ply-shebangs.patch
 Patch1:         fix-assert-methods.patch
+# PATCH-FIX-UPSTREAM: https://github.com/dabeaz/ply/pull/318.patch
+Patch2:         py315-testfails.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}

++++++ py315-testfails.patch ++++++
>From 3ef4ef231342ca00f7f97772fea451c66aced03b Mon Sep 17 00:00:00 2001
From: Tom spot Callaway <[email protected]>
Date: Thu, 18 Dec 2025 10:39:22 -0500
Subject: [PATCH] Fix testyacc.py to work with Python 3.15

Signed-off-by: Tom spot Callaway <[email protected]>
---
 tests/testyacc.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/testyacc.py b/tests/testyacc.py
index b488bf7..14ddef7 100644
--- a/test/testyacc.py
+++ b/test/testyacc.py
@@ -21,7 +21,10 @@ def make_pymodule_path(filename):
     file = os.path.basename(filename)
     mod, ext = os.path.splitext(file)
 
-    if sys.hexversion >= 0x3040000:
+    if sys.hexversion >= 0x3050000:
+        import importlib.util
+        fullpath = importlib.util.cache_from_source(filename)
+    elif sys.hexversion >= 0x3040000:
         import importlib.util
         fullpath = importlib.util.cache_from_source(filename, ext=='.pyc')
     elif sys.hexversion >= 0x3020000:

Reply via email to