Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-slimit for openSUSE:Factory 
checked in at 2025-11-21 16:56:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-slimit (Old)
 and      /work/SRC/openSUSE:Factory/.python-slimit.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-slimit"

Fri Nov 21 16:56:41 2025 rev:17 rq:1318845 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-slimit/python-slimit.changes      
2024-11-19 22:23:48.941701142 +0100
+++ /work/SRC/openSUSE:Factory/.python-slimit.new.2061/python-slimit.changes    
2025-11-21 16:57:35.092652322 +0100
@@ -1,0 +2,5 @@
+Wed Nov 19 11:26:56 UTC 2025 - Nico Krapp <[email protected]>
+
+- add remove-2to3.patch to fix build with Python 3.14
+
+-------------------------------------------------------------------

New:
----
  remove-2to3.patch

----------(New B)----------
  New:
- add remove-2to3.patch to fix build with Python 3.14
----------(New E)----------

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

Other differences:
------------------
++++++ python-slimit.spec ++++++
--- /var/tmp/diff_new_pack.emXBkN/_old  2025-11-21 16:57:36.124695812 +0100
+++ /var/tmp/diff_new_pack.emXBkN/_new  2025-11-21 16:57:36.124695812 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-slimit
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 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
@@ -30,6 +30,8 @@
 # 
https://github.com/rspivak/slimit/commit/40956e7fc6e954b3e6d7b629faeb3303f5efb7ea
 Patch1:         python-slimit-fix-python3.patch
 Patch2:         py313-makesuite.patch
+# PATCH-FIX-UPSTREAM remove-2to3.patch
+Patch3:         remove-2to3.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module ply >= 3.4}
 BuildRequires:  %{python_module setuptools}

++++++ remove-2to3.patch ++++++
Index: slimit-0.8.1/setup.py
===================================================================
--- slimit-0.8.1.orig/setup.py
+++ slimit-0.8.1/setup.py
@@ -23,11 +23,6 @@ if major == 2 and minor <=6:
     requirements.append('odict')
 if major == 3:
     PYTHON3 = True
-    try:
-        import lib2to3 # Just a check--the module is not actually used
-    except ImportError:
-        print("Python 3.X support requires the 2to3 tool.")
-        sys.exit(1)
 
 def read(*rel_names):
     return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()

Reply via email to