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 2023-12-28 22:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dateparser (Old) and /work/SRC/openSUSE:Factory/.python-dateparser.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dateparser" Thu Dec 28 22:55:16 2023 rev:19 rq:1135449 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dateparser/python-dateparser.changes 2023-10-23 23:40:15.597993614 +0200 +++ /work/SRC/openSUSE:Factory/.python-dateparser.new.28375/python-dateparser.changes 2023-12-28 22:55:29.237337432 +0100 @@ -1,0 +2,14 @@ +Thu Dec 7 20:46:37 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.2.0: + * New ``PREFER_MONTH_OF_YEAR`` setting (#1146) + * Absolute years in Russian are no longer being treated as a + number of years in the past (#1129) + * Cleanups and internal improvements: + * Removed the use of ``datetime.utcnow``, deprecated on Python + 3.12 (#1179) + * Applied Black formatting to the code base (#1158) + * Initial integration with OSSFuzz (#1198) + * Extended test cases (#1191) + +------------------------------------------------------------------- Old: ---- dateparser-1.1.8.tar.gz New: ---- dateparser-1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dateparser.spec ++++++ --- /var/tmp/diff_new_pack.HMS0NU/_old 2023-12-28 22:55:30.025366200 +0100 +++ /var/tmp/diff_new_pack.HMS0NU/_new 2023-12-28 22:55:30.029366346 +0100 @@ -16,10 +16,9 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-dateparser -Version: 1.1.8 +Version: 1.2.0 Release: 0 Summary: Date parsing library designed to parse dates from HTML pages License: BSD-3-Clause @@ -84,7 +83,9 @@ ignoretestfiles="--ignore tests/test_dateparser_data_integrity.py" # https://github.com/scrapinghub/dateparser/issues/1053 ignoretestfiles="$ignoretestfiles --ignore tests/test_search.py" -%pytest $ignoretestfiles +# overflow on 32bit +donttest="(not test_timezone_offset_calculation)" +%pytest -k "$donttest" $ignoretestfiles %post %python_install_alternative dateparser-download ++++++ dateparser-1.1.8.tar.gz -> dateparser-1.2.0.tar.gz ++++++ ++++ 27394 lines of diff (skipped) ++++++ mark-network-tests.patch ++++++ --- /var/tmp/diff_new_pack.HMS0NU/_old 2023-12-28 22:55:30.197372479 +0100 +++ /var/tmp/diff_new_pack.HMS0NU/_new 2023-12-28 22:55:30.201372625 +0100 @@ -2,19 +2,16 @@ tests/test_language_detect.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) ---- a/tests/test_language_detect.py -+++ b/tests/test_language_detect.py -@@ -1,6 +1,8 @@ +Index: dateparser-1.2.0/tests/test_language_detect.py +=================================================================== +--- dateparser-1.2.0.orig/tests/test_language_detect.py ++++ dateparser-1.2.0/tests/test_language_detect.py +@@ -1,3 +1,4 @@ +import os -+import unittest -+ + import unittest from datetime import datetime from unittest.mock import Mock --import unittest - - from parameterized import parameterized, param - -@@ -13,6 +15,7 @@ from dateparser.search import search_dat +@@ -17,6 +18,7 @@ from dateparser.search import search_dat detect_languages = Mock() detect_languages.return_value = ["en"] @@ -22,10 +19,10 @@ class CustomLangDetectParserTest(unittest.TestCase): def check_is_returned_list(self): -@@ -22,6 +25,7 @@ class CustomLangDetectParserTest(unittes - param(dt_string="14 June 2020", confidence_threshold=0.0), - param(dt_string="26 July 2021", confidence_threshold=0.0) - ]) +@@ -28,6 +30,7 @@ class CustomLangDetectParserTest(unittes + param(dt_string="26 July 2021", confidence_threshold=0.0), + ] + ) + @unittest.skipIf(NO_NETWORK, "Test requires network access") def test_custom_language_detect_fast_text(self, dt_string, confidence_threshold): self.result = fast_text_detect_languages(dt_string, confidence_threshold)