Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-tasklib for openSUSE:Factory checked in at 2021-04-10 15:27:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tasklib (Old) and /work/SRC/openSUSE:Factory/.python-tasklib.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tasklib" Sat Apr 10 15:27:52 2021 rev:3 rq:883971 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tasklib/python-tasklib.changes 2020-03-19 19:53:01.532274990 +0100 +++ /work/SRC/openSUSE:Factory/.python-tasklib.new.2401/python-tasklib.changes 2021-04-10 15:28:59.098491925 +0200 @@ -1,0 +2,6 @@ +Fri Apr 9 06:26:30 UTC 2021 - Steve Kowalik <[email protected]> + +- Update to 2.3.0: + * No upstream changelog + +------------------------------------------------------------------- Old: ---- tasklib-2.1.1.tar.gz New: ---- tasklib-2.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tasklib.spec ++++++ --- /var/tmp/diff_new_pack.hUQYMm/_old 2021-04-10 15:28:59.610492528 +0200 +++ /var/tmp/diff_new_pack.hUQYMm/_new 2021-04-10 15:28:59.614492532 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-tasklib # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-tasklib -Version: 2.1.1 +Version: 2.3.0 Release: 0 Summary: Python Task Warrior library License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/robgolding/tasklib Source: https://files.pythonhosted.org/packages/source/t/tasklib/tasklib-%{version}.tar.gz Patch0: disable-windows-test.patch ++++++ tasklib-2.1.1.tar.gz -> tasklib-2.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/PKG-INFO new/tasklib-2.3.0/PKG-INFO --- old/tasklib-2.1.1/PKG-INFO 2020-01-24 22:59:29.000000000 +0100 +++ new/tasklib-2.3.0/PKG-INFO 2021-01-03 10:20:58.796053200 +0100 @@ -1,32 +1,32 @@ Metadata-Version: 1.1 Name: tasklib -Version: 2.1.1 +Version: 2.3.0 Summary: Python Task Warrior library -Home-page: https://github.com/robgolding63/tasklib +Home-page: https://github.com/robgolding/tasklib Author: Rob Golding Author-email: [email protected] License: BSD -Download-URL: https://github.com/robgolding63/tasklib/downloads +Download-URL: https://github.com/robgolding/tasklib/downloads Description: tasklib ======= - .. image:: https://travis-ci.org/robgolding63/tasklib.png?branch=develop - :target: http://travis-ci.org/robgolding63/tasklib + .. image:: https://travis-ci.org/robgolding/tasklib.png?branch=develop + :target: http://travis-ci.org/robgolding/tasklib - .. image:: https://coveralls.io/repos/robgolding63/tasklib/badge.png?branch=develop - :target: https://coveralls.io/r/robgolding63/tasklib?branch=develop + .. image:: https://coveralls.io/repos/robgolding/tasklib/badge.png?branch=develop + :target: https://coveralls.io/r/robgolding/tasklib?branch=develop tasklib is a Python library for interacting with taskwarrior_ databases, using a queryset API similar to that of Django's ORM. - Supports Python 3.5 and above, with taskwarrior 2.1.x and above. - Older versions of taskwarrior are untested and may not work. - Requirements ------------ + * Python 3.5 or above * taskwarrior_ v2.1.x or above. + Older versions of taskwarrior are untested and may not work. + Installation ------------ @@ -41,7 +41,7 @@ >>> from tasklib import TaskWarrior - >>> tw = TaskWarrior('/home/rob/.task') + >>> tw = TaskWarrior('~/.task') >>> tasks = tw.tasks.pending() >>> tasks ['Tidy the house', 'Learn German'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/README.rst new/tasklib-2.3.0/README.rst --- old/tasklib-2.1.1/README.rst 2020-01-24 22:57:40.000000000 +0100 +++ new/tasklib-2.3.0/README.rst 2021-01-03 10:18:26.000000000 +0100 @@ -1,23 +1,23 @@ tasklib ======= -.. image:: https://travis-ci.org/robgolding63/tasklib.png?branch=develop - :target: http://travis-ci.org/robgolding63/tasklib +.. image:: https://travis-ci.org/robgolding/tasklib.png?branch=develop + :target: http://travis-ci.org/robgolding/tasklib -.. image:: https://coveralls.io/repos/robgolding63/tasklib/badge.png?branch=develop - :target: https://coveralls.io/r/robgolding63/tasklib?branch=develop +.. image:: https://coveralls.io/repos/robgolding/tasklib/badge.png?branch=develop + :target: https://coveralls.io/r/robgolding/tasklib?branch=develop tasklib is a Python library for interacting with taskwarrior_ databases, using a queryset API similar to that of Django's ORM. -Supports Python 3.5 and above, with taskwarrior 2.1.x and above. -Older versions of taskwarrior are untested and may not work. - Requirements ------------ +* Python 3.5 or above * taskwarrior_ v2.1.x or above. +Older versions of taskwarrior are untested and may not work. + Installation ------------ @@ -32,7 +32,7 @@ >>> from tasklib import TaskWarrior - >>> tw = TaskWarrior('/home/rob/.task') + >>> tw = TaskWarrior('~/.task') >>> tasks = tw.tasks.pending() >>> tasks ['Tidy the house', 'Learn German'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/pyproject.toml new/tasklib-2.3.0/pyproject.toml --- old/tasklib-2.1.1/pyproject.toml 2020-01-23 22:48:50.000000000 +0100 +++ new/tasklib-2.3.0/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -[tool.poetry] -name = "tasklib" -version = "1.3.0" -description = "Python Task Warrior library" -authors = ["Rob Golding-Day <[email protected]>"] -license = "BSD-3-Clause" - -[tool.poetry.dependencies] -# python = "2.6, 2.7, 3.2, 3.3" -six = "1.14.0" -pytz = "2019.3" -tzlocal = "2.0.0" - -[tool.poetry.dev-dependencies] -pytest = "^4.0" - -[build-system] -requires = ["poetry>=0.12"] -build-backend = "poetry.masonry.api" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/setup.py new/tasklib-2.3.0/setup.py --- old/tasklib-2.1.1/setup.py 2020-01-24 22:59:25.000000000 +0100 +++ new/tasklib-2.3.0/setup.py 2021-01-03 10:18:26.000000000 +0100 @@ -2,7 +2,7 @@ install_requirements = ['pytz', 'tzlocal'] -version = '2.1.1' +version = '2.3.0' try: import importlib @@ -17,8 +17,8 @@ author='Rob Golding', author_email='[email protected]', license='BSD', - url='https://github.com/robgolding63/tasklib', - download_url='https://github.com/robgolding63/tasklib/downloads', + url='https://github.com/robgolding/tasklib', + download_url='https://github.com/robgolding/tasklib/downloads', packages=find_packages(), include_package_data=True, test_suite='tasklib.tests', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/tasklib/__init__.py new/tasklib-2.3.0/tasklib/__init__.py --- old/tasklib-2.1.1/tasklib/__init__.py 2017-10-26 21:38:08.000000000 +0200 +++ new/tasklib-2.3.0/tasklib/__init__.py 2021-01-03 10:18:26.000000000 +0100 @@ -1,3 +1,5 @@ from .backends import TaskWarrior from .task import Task from .serializing import local_zone + +__version__ = '2.3.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/tasklib/tests.py new/tasklib-2.3.0/tasklib/tests.py --- old/tasklib-2.1.1/tasklib/tests.py 2020-01-24 22:55:37.000000000 +0100 +++ new/tasklib-2.3.0/tasklib/tests.py 2021-01-03 10:18:26.000000000 +0100 @@ -1229,13 +1229,22 @@ t = Task(self.tw, description='test task', due='eoy') now = local_zone.localize(datetime.datetime.now()) eoy = local_zone.localize(datetime.datetime( - year=now.year, - month=12, - day=31, - hour=23, - minute=59, - second=59, + year=now.year+1, + month=1, + day=1, + hour=0, + minute=0, + second=0, )) + if self.tw.version < '2.5.2': + eoy = local_zone.localize(datetime.datetime( + year=now.year, + month=12, + day=31, + hour=23, + minute=59, + second=59, + )) self.assertEqual(eoy, t['due']) def test_complex_eoy_conversion(self): @@ -1251,14 +1260,25 @@ now = local_zone.localize(datetime.datetime.now()) due_date = local_zone.localize( datetime.datetime( - year=now.year, - month=12, - day=31, - hour=23, - minute=59, - second=59, + year=now.year+1, + month=1, + day=1, + hour=0, + minute=0, + second=0, ) ) - datetime.timedelta(0, 4 * 30 * 86400) + if self.tw.version < '2.5.2': + due_date = local_zone.localize( + datetime.datetime( + year=now.year, + month=12, + day=31, + hour=23, + minute=59, + second=59, + ) + ) - datetime.timedelta(0, 4 * 30 * 86400) self.assertEqual(due_date, t['due']) def test_filtering_with_string_datetime(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/tasklib.egg-info/PKG-INFO new/tasklib-2.3.0/tasklib.egg-info/PKG-INFO --- old/tasklib-2.1.1/tasklib.egg-info/PKG-INFO 2020-01-24 22:59:29.000000000 +0100 +++ new/tasklib-2.3.0/tasklib.egg-info/PKG-INFO 2021-01-03 10:20:58.000000000 +0100 @@ -1,32 +1,32 @@ Metadata-Version: 1.1 Name: tasklib -Version: 2.1.1 +Version: 2.3.0 Summary: Python Task Warrior library -Home-page: https://github.com/robgolding63/tasklib +Home-page: https://github.com/robgolding/tasklib Author: Rob Golding Author-email: [email protected] License: BSD -Download-URL: https://github.com/robgolding63/tasklib/downloads +Download-URL: https://github.com/robgolding/tasklib/downloads Description: tasklib ======= - .. image:: https://travis-ci.org/robgolding63/tasklib.png?branch=develop - :target: http://travis-ci.org/robgolding63/tasklib + .. image:: https://travis-ci.org/robgolding/tasklib.png?branch=develop + :target: http://travis-ci.org/robgolding/tasklib - .. image:: https://coveralls.io/repos/robgolding63/tasklib/badge.png?branch=develop - :target: https://coveralls.io/r/robgolding63/tasklib?branch=develop + .. image:: https://coveralls.io/repos/robgolding/tasklib/badge.png?branch=develop + :target: https://coveralls.io/r/robgolding/tasklib?branch=develop tasklib is a Python library for interacting with taskwarrior_ databases, using a queryset API similar to that of Django's ORM. - Supports Python 3.5 and above, with taskwarrior 2.1.x and above. - Older versions of taskwarrior are untested and may not work. - Requirements ------------ + * Python 3.5 or above * taskwarrior_ v2.1.x or above. + Older versions of taskwarrior are untested and may not work. + Installation ------------ @@ -41,7 +41,7 @@ >>> from tasklib import TaskWarrior - >>> tw = TaskWarrior('/home/rob/.task') + >>> tw = TaskWarrior('~/.task') >>> tasks = tw.tasks.pending() >>> tasks ['Tidy the house', 'Learn German'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tasklib-2.1.1/tasklib.egg-info/SOURCES.txt new/tasklib-2.3.0/tasklib.egg-info/SOURCES.txt --- old/tasklib-2.1.1/tasklib.egg-info/SOURCES.txt 2020-01-24 22:59:29.000000000 +0100 +++ new/tasklib-2.3.0/tasklib.egg-info/SOURCES.txt 2021-01-03 10:20:58.000000000 +0100 @@ -1,7 +1,6 @@ LICENSE MANIFEST.in README.rst -pyproject.toml setup.py tasklib/__init__.py tasklib/backends.py
