Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-dateparser for 
openSUSE:Factory checked in at 2026-01-02 14:27:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old)
 and      /work/SRC/openSUSE:Factory/.python-dateparser.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dateparser"

Fri Jan  2 14:27:22 2026 rev:23 rq:1325119 version:1.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes      
2025-09-17 17:44:41.207582998 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dateparser.new.1928/python-dateparser.changes
    2026-01-02 14:27:34.706115190 +0100
@@ -1,0 +2,5 @@
+Fri Jan  2 12:55:05 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add happy-new-year.patch, sent upstream (boo#1255836)
+
+-------------------------------------------------------------------

New:
----
  happy-new-year.patch

----------(New B)----------
  New:
- Add happy-new-year.patch, sent upstream (boo#1255836)
----------(New E)----------

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

Other differences:
------------------
++++++ python-dateparser.spec ++++++
--- /var/tmp/diff_new_pack.ZoA8R8/_old  2026-01-02 14:27:35.170134391 +0100
+++ /var/tmp/diff_new_pack.ZoA8R8/_new  2026-01-02 14:27:35.174134557 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dateparser
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# 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
@@ -32,6 +32,8 @@
 # PATCH-FIX-UPSTREAM mark-network-tests.patch gh#scrapinghub/dateparser#1059 
[email protected]
 # mark test requiring network access
 Patch1:         mark-network-tests.patch
+# PATCH-FIX-UPSTREAM https://github.com/scrapinghub/dateparser/pull/1294 use 
current year in test_search_dates_with_prepositions
+Patch2:         happy-new-year.patch
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes

++++++ happy-new-year.patch ++++++
Index: dateparser-1.2.2/tests/test_search.py
===================================================================
--- dateparser-1.2.2.orig/tests/test_search.py
+++ dateparser-1.2.2/tests/test_search.py
@@ -1099,7 +1099,7 @@ class TestTranslateSearch(BaseTestCase):
             languages=["ru"],
         )
         expected = [
-            ("12 января", datetime.datetime(2025, 1, 12, 0, 0), "ru"),
-            ("30 апреля", datetime.datetime(2025, 4, 30, 0, 0), "ru"),
+            ("12 января", datetime.datetime(today.year, 1, 12, 0, 0), "ru"),
+            ("30 апреля", datetime.datetime(today.year, 4, 30, 0, 0), "ru"),
         ]
         assert result == expected

Reply via email to