Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tempora for openSUSE:Factory checked in at 2023-05-09 13:06:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tempora (Old) and /work/SRC/openSUSE:Factory/.python-tempora.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tempora" Tue May 9 13:06:09 2023 rev:18 rq:1084877 version:5.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tempora/python-tempora.changes 2023-04-22 21:59:09.592749916 +0200 +++ /work/SRC/openSUSE:Factory/.python-tempora.new.1533/python-tempora.changes 2023-05-09 13:06:15.384634782 +0200 @@ -1,0 +2,7 @@ +Thu May 4 21:03:54 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 5.2.2: + * Fixed bug in tests that would fail when a leap year + was about a year away. + +------------------------------------------------------------------- Old: ---- tempora-5.2.1.tar.gz New: ---- tempora-5.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tempora.spec ++++++ --- /var/tmp/diff_new_pack.WJt072/_old 2023-05-09 13:06:16.404640853 +0200 +++ /var/tmp/diff_new_pack.WJt072/_new 2023-05-09 13:06:16.408640877 +0200 @@ -24,7 +24,7 @@ %endif %{?sle15_python_module_pythons} Name: python-tempora -Version: 5.2.1 +Version: 5.2.2 Release: 0 Summary: Objects and routines pertaining to date and time (tempora) License: MIT ++++++ tempora-5.2.1.tar.gz -> tempora-5.2.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/.coveragerc new/tempora-5.2.2/.coveragerc --- old/tempora-5.2.1/.coveragerc 2023-01-19 04:03:11.000000000 +0100 +++ new/tempora-5.2.2/.coveragerc 2023-04-10 16:46:59.000000000 +0200 @@ -2,7 +2,8 @@ omit = # leading `*/` for pytest-dev/pytest-cov#456 */.tox/* - */pep517-build-env-* +disable_warnings = + couldnt-parse [report] show_missing = True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/CHANGES.rst new/tempora-5.2.2/CHANGES.rst --- old/tempora-5.2.1/CHANGES.rst 2023-01-19 04:03:11.000000000 +0100 +++ new/tempora-5.2.2/CHANGES.rst 2023-04-10 16:46:59.000000000 +0200 @@ -1,3 +1,9 @@ +v5.2.2 +====== + +#22: Fixed bug in tests that would fail when a leap year +was about a year away. + v5.2.1 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/PKG-INFO new/tempora-5.2.2/PKG-INFO --- old/tempora-5.2.1/PKG-INFO 2023-01-19 04:03:45.306815600 +0100 +++ new/tempora-5.2.2/PKG-INFO 2023-04-10 16:47:19.522996200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tempora -Version: 5.2.1 +Version: 5.2.2 Summary: Objects and routines pertaining to date and time (tempora) Home-page: https://github.com/jaraco/tempora Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/pytest.ini new/tempora-5.2.2/pytest.ini --- old/tempora-5.2.1/pytest.ini 2023-01-19 04:03:11.000000000 +0100 +++ new/tempora-5.2.2/pytest.ini 2023-04-10 16:46:59.000000000 +0200 @@ -2,6 +2,8 @@ norecursedirs=dist build .tox .eggs addopts=--doctest-modules filterwarnings= + ## upstream + # Ensure ResourceWarnings are emitted default::ResourceWarning @@ -18,5 +20,16 @@ ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning + # shopkeep/pytest-black#67 + ignore:'encoding' argument not specified::pytest_black + + # realpython/pytest-mypy#152 + ignore:'encoding' argument not specified::pytest_mypy + + # python/cpython#100750 + ignore:'encoding' argument not specified::platform + + ## end upstream + # ktosiek/pytest-freezegun#35 ignore:distutils Version classes are deprecated:DeprecationWarning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/tempora/__init__.py new/tempora-5.2.2/tempora/__init__.py --- old/tempora-5.2.1/tempora/__init__.py 2023-01-19 04:03:11.000000000 +0100 +++ new/tempora-5.2.2/tempora/__init__.py 2023-04-10 16:46:59.000000000 +0200 @@ -383,9 +383,9 @@ Note that months and years strict intervals, not aligned to a calendar: - >>> now = datetime.datetime.now() - >>> later = now + parse_timedelta('1 year') - >>> diff = later.replace(year=now.year) - now + >>> date = datetime.datetime.fromisoformat('2000-01-01') + >>> later = date + parse_timedelta('1 year') + >>> diff = later.replace(year=date.year) - date >>> diff.seconds 20940 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/tempora.egg-info/PKG-INFO new/tempora-5.2.2/tempora.egg-info/PKG-INFO --- old/tempora-5.2.1/tempora.egg-info/PKG-INFO 2023-01-19 04:03:45.000000000 +0100 +++ new/tempora-5.2.2/tempora.egg-info/PKG-INFO 2023-04-10 16:47:19.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: tempora -Version: 5.2.1 +Version: 5.2.2 Summary: Objects and routines pertaining to date and time (tempora) Home-page: https://github.com/jaraco/tempora Author: Jason R. Coombs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tempora-5.2.1/tox.ini new/tempora-5.2.2/tox.ini --- old/tempora-5.2.1/tox.ini 2023-01-19 04:03:11.000000000 +0100 +++ new/tempora-5.2.2/tox.ini 2023-04-10 16:46:59.000000000 +0200 @@ -8,10 +8,13 @@ [testenv] deps = +setenv = + PYTHONWARNDEFAULTENCODING = 1 commands = pytest {posargs} usedevelop = True -extras = testing +extras = + testing [testenv:docs] extras =