Hello community, here is the log from the commit of package python-APScheduler for openSUSE:Factory checked in at 2020-01-13 22:22:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-APScheduler (Old) and /work/SRC/openSUSE:Factory/.python-APScheduler.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-APScheduler" Mon Jan 13 22:22:25 2020 rev:10 rq:764025 version:3.6.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-APScheduler/python-APScheduler.changes 2019-11-06 14:04:42.012697746 +0100 +++ /work/SRC/openSUSE:Factory/.python-APScheduler.new.6675/python-APScheduler.changes 2020-01-13 22:22:28.550544709 +0100 @@ -1,0 +2,7 @@ +Mon Jan 13 14:12:51 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- update to version 3.6.3 + * just pytest4 compatibility +- drop obsolete patch compat-pytest4+.patch + +------------------------------------------------------------------- Old: ---- APScheduler-3.6.2.tar.gz compat-pytest4+.patch New: ---- APScheduler-3.6.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-APScheduler.spec ++++++ --- /var/tmp/diff_new_pack.3Rp7sx/_old 2020-01-13 22:22:29.622545206 +0100 +++ /var/tmp/diff_new_pack.3Rp7sx/_new 2020-01-13 22:22:29.622545206 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-APScheduler # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,24 +18,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-APScheduler -Version: 3.6.2 +Version: 3.6.3 Release: 0 Summary: In-process task scheduler with Cron-like capabilities License: MIT Group: Development/Languages/Python URL: https://github.com/agronholm/apscheduler Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz -# PATCH-FIX-UPSTREAM compat-pytest4+.patch gh#agronholm/apscheduler#401 mc...@suse.com -# fix the test suite to be compatible with pytest4+ -Patch0: compat-pytest4+.patch BuildRequires: %{python_module SQLAlchemy >= 0.8} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module gevent} +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-tornado} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} -BuildRequires: %{python_module setuptools >= 0.7} -BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools >= 36.2.7} +BuildRequires: %{python_module setuptools_scm >= 1.7.0} BuildRequires: %{python_module six >= 1.4.0} BuildRequires: %{python_module tornado} BuildRequires: %{python_module tzlocal >= 1.2} @@ -87,10 +85,6 @@ %prep %setup -q -n APScheduler-%{version} -%autopatch -p1 - -# we don't want the tweaked pytest config options -rm setup.cfg %build %python_build ++++++ APScheduler-3.6.2.tar.gz -> APScheduler-3.6.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/APScheduler.egg-info/PKG-INFO new/APScheduler-3.6.3/APScheduler.egg-info/PKG-INFO --- old/APScheduler-3.6.2/APScheduler.egg-info/PKG-INFO 2019-11-04 21:43:05.000000000 +0100 +++ new/APScheduler-3.6.3/APScheduler.egg-info/PKG-INFO 2019-11-05 08:51:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: APScheduler -Version: 3.6.2 +Version: 3.6.3 Summary: In-process task scheduler with Cron-like capabilities Home-page: https://github.com/agronholm/apscheduler Author: Alex Grönholm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/APScheduler.egg-info/requires.txt new/APScheduler-3.6.3/APScheduler.egg-info/requires.txt --- old/APScheduler-3.6.2/APScheduler.egg-info/requires.txt 2019-11-04 21:43:05.000000000 +0100 +++ new/APScheduler-3.6.3/APScheduler.egg-info/requires.txt 2019-11-05 08:51:47.000000000 +0100 @@ -30,7 +30,7 @@ sqlalchemy>=0.8 [testing] -pytest<3.7 +pytest pytest-cov pytest-tornado5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/PKG-INFO new/APScheduler-3.6.3/PKG-INFO --- old/APScheduler-3.6.2/PKG-INFO 2019-11-04 21:43:06.000000000 +0100 +++ new/APScheduler-3.6.3/PKG-INFO 2019-11-05 08:51:47.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: APScheduler -Version: 3.6.2 +Version: 3.6.3 Summary: In-process task scheduler with Cron-like capabilities Home-page: https://github.com/agronholm/apscheduler Author: Alex Grönholm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/apscheduler/util.py new/APScheduler-3.6.3/apscheduler/util.py --- old/APScheduler-3.6.2/apscheduler/util.py 2019-11-04 21:42:44.000000000 +0100 +++ new/APScheduler-3.6.3/apscheduler/util.py 2019-11-05 08:51:24.000000000 +0100 @@ -24,7 +24,11 @@ try: from asyncio import iscoroutinefunction except ImportError: - from trollius import iscoroutinefunction + try: + from trollius import iscoroutinefunction + except ImportError: + def iscoroutinefunction(func): + return False __all__ = ('asint', 'asbool', 'astimezone', 'convert_to_datetime', 'datetime_to_utc_timestamp', 'utc_timestamp_to_datetime', 'timedelta_seconds', 'datetime_ceil', 'get_callable_name', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/docs/versionhistory.rst new/APScheduler-3.6.3/docs/versionhistory.rst --- old/APScheduler-3.6.2/docs/versionhistory.rst 2019-11-04 21:42:44.000000000 +0100 +++ new/APScheduler-3.6.3/docs/versionhistory.rst 2019-11-05 08:51:24.000000000 +0100 @@ -4,6 +4,12 @@ To find out how to migrate your application from a previous version of APScheduler, see the :doc:`migration section <migration>`. +3.6.3 +----- + +* Fixed Python 2.7 accidentally depending on the ``trollius`` package (regression from v3.6.2) + + 3.6.2 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/setup.py new/APScheduler-3.6.3/setup.py --- old/APScheduler-3.6.2/setup.py 2019-11-04 21:42:44.000000000 +0100 +++ new/APScheduler-3.6.3/setup.py 2019-11-05 08:51:24.000000000 +0100 @@ -55,7 +55,7 @@ 'twisted': ['twisted'], 'zookeeper': ['kazoo'], 'testing': [ - 'pytest < 3.7', + 'pytest', 'pytest-cov', 'pytest-tornado5' ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/APScheduler-3.6.2/tests/test_util.py new/APScheduler-3.6.3/tests/test_util.py --- old/APScheduler-3.6.2/tests/test_util.py 2019-11-04 21:42:44.000000000 +0100 +++ new/APScheduler-3.6.3/tests/test_util.py 2019-11-05 08:51:24.000000000 +0100 @@ -220,27 +220,23 @@ assert str(exc.value) == 'Cannot create a reference to a nested function' @pytest.mark.parametrize('input,expected', [ - pytest.mark.skipif(sys.version_info[:2] == (3, 2), - reason="Unbound methods can't be resolved on Python 3.2")( - (DummyClass.meth, 'tests.test_util:DummyClass.meth') - ), + (DummyClass.meth, 'tests.test_util:DummyClass.meth'), (DummyClass.classmeth, 'tests.test_util:DummyClass.classmeth'), - pytest.mark.skipif(sys.version_info < (3, 3), - reason="Requires __qualname__ (Python 3.3+)")( - (DummyClass.InnerDummyClass.innerclassmeth, - 'tests.test_util:DummyClass.InnerDummyClass.innerclassmeth') - ), - pytest.mark.skipif(sys.version_info < (3, 3), - reason="Requires __qualname__ (Python 3.3+)")( - (DummyClass.staticmeth, 'tests.test_util:DummyClass.staticmeth') + pytest.param( + DummyClass.InnerDummyClass.innerclassmeth, + 'tests.test_util:DummyClass.InnerDummyClass.innerclassmeth', + marks=[pytest.mark.skipif(sys.version_info < (3, 3), + reason="Requires __qualname__ (Python 3.3+)")] ), - pytest.mark.skipif(sys.version_info >= (3, 2), - reason="Unbound methods (Python 3.2) and __qualname__ (Python 3.3+)")( - (InheritedDummyClass.pause, 'tests.test_util:InheritedDummyClass.pause') + pytest.param( + DummyClass.staticmeth, + 'tests.test_util:DummyClass.staticmeth', + marks=[pytest.mark.skipif(sys.version_info < (3, 3), + reason="Requires __qualname__ (Python 3.3+)")] ), (timedelta, 'datetime:timedelta'), - ], ids=['unbound method', 'class method', 'inner class method', 'static method', - 'inherited class method', 'timedelta']) + ], ids=['class method', 'inner class method', 'static method', 'inherited class method', + 'timedelta']) def test_valid_refs(self, input, expected): assert obj_to_ref(input) == expected