Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-whatthepatch for 
openSUSE:Factory checked in at 2026-07-28 18:16:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-whatthepatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-whatthepatch.new.2004 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-whatthepatch"

Tue Jul 28 18:16:45 2026 rev:8 rq:1368121 version:1.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-whatthepatch/python-whatthepatch.changes  
2025-01-17 18:44:06.869712189 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-whatthepatch.new.2004/python-whatthepatch.changes
        2026-07-28 18:18:34.315921762 +0200
@@ -1,0 +2,7 @@
+Tue Jul 28 04:59:04 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch more-time-huge-patch.patch:
+  * Allow OBS workers more time to process huge patches.
+- List directories under sitearch explicitly.
+
+-------------------------------------------------------------------

New:
----
  more-time-huge-patch.patch

----------(New B)----------
  New:
- Add patch more-time-huge-patch.patch:
  * Allow OBS workers more time to process huge patches.
----------(New E)----------

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

Other differences:
------------------
++++++ python-whatthepatch.spec ++++++
--- /var/tmp/diff_new_pack.BzOYwU/_old  2026-07-28 18:18:36.860010848 +0200
+++ /var/tmp/diff_new_pack.BzOYwU/_new  2026-07-28 18:18:36.880011548 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-whatthepatch
 #
-# Copyright (c) 2025 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
@@ -24,9 +24,10 @@
 Release:        0
 Summary:        A patch parsing and application library
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/cscorley/whatthepatch
 Source:         
https://files.pythonhosted.org/packages/source/w/whatthepatch/whatthepatch-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Allow more time to process huge patches
+Patch0:         more-time-huge-patch.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -45,7 +46,7 @@
 A patch parsing and application library.
 
 %prep
-%setup -q -n whatthepatch-%{version}
+%autosetup -p1 -n whatthepatch-%{version}
 dos2unix README.rst
 
 %build
@@ -61,5 +62,6 @@
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/whatthepatch*/
+%{python_sitelib}/whatthepatch
+%{python_sitelib}/whatthepatch-%{version}.dist-info
 

++++++ more-time-huge-patch.patch ++++++
Index: whatthepatch-1.0.7/tests/test_patch.py
===================================================================
--- whatthepatch-1.0.7.orig/tests/test_patch.py
+++ whatthepatch-1.0.7/tests/test_patch.py
@@ -1450,7 +1450,8 @@ index 0000000..1111111 100644
         self.assertEqual(1000007, len(result[0].changes))
         # This is 2x the usual time for CI to allow for some slow tests
         # Really all we care about is that this parses faster than it used to 
(200s+)
-        self.assertGreater(20, time.time() - start_time)
+        # Allow OBS more time. Double, in fact.
+        self.assertGreater(40, time.time() - start_time)
 
     def test_git_bin_patch(self):
         with open("tests/casefiles/git-bin.patch") as f:

Reply via email to