Hello community,

here is the log from the commit of package python-APScheduler for 
openSUSE:Factory checked in at 2019-07-22 17:18:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-APScheduler (Old)
 and      /work/SRC/openSUSE:Factory/.python-APScheduler.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-APScheduler"

Mon Jul 22 17:18:22 2019 rev:7 rq:717491 version:3.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-APScheduler/python-APScheduler.changes    
2019-03-20 13:20:42.609323176 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-APScheduler.new.4126/python-APScheduler.changes
  2019-07-22 17:18:23.541958379 +0200
@@ -1,0 +2,7 @@
+Mon Jul 22 09:09:12 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 3.6.1:
+  * Fixed OverflowError on Qt scheduler when the wait time is very long
+  * Fixed methods inherited from base class could not be executed by 
processpool executor (PR by Yang Jian)
+
+-------------------------------------------------------------------

Old:
----
  APScheduler-3.6.0.tar.gz

New:
----
  APScheduler-3.6.1.tar.gz

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

Other differences:
------------------
++++++ python-APScheduler.spec ++++++
--- /var/tmp/diff_new_pack.PK6LH8/_old  2019-07-22 17:18:24.001958013 +0200
+++ /var/tmp/diff_new_pack.PK6LH8/_new  2019-07-22 17:18:24.005958009 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-APScheduler
-Version:        3.6.0
+Version:        3.6.1
 Release:        0
 Summary:        In-process task scheduler with Cron-like capabilities
 License:        MIT

++++++ APScheduler-3.6.0.tar.gz -> APScheduler-3.6.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/.travis.yml 
new/APScheduler-3.6.1/.travis.yml
--- old/APScheduler-3.6.0/.travis.yml   2018-12-16 10:38:28.000000000 +0100
+++ new/APScheduler-3.6.1/.travis.yml   2019-07-19 12:09:36.000000000 +0200
@@ -13,44 +13,43 @@
   include:
     - stage: static analysis
       env: TOXENV=flake8
-      before_install: skip
-      after_success: skip
 
-    - stage: test
+    - &test
+      stage: test
       env: TOXENV=pypy
       python: pypy2.7-6.0
-      after_success: skip
+      before_install: docker-compose up -d
+      after_success:
+        - pip install coveralls
+        - coveralls
 
-    - stage: test
+    - <<: *test
       env: TOXENV=pypy3
       python: pypy3.5-6.0
-      after_success: skip
 
-    - stage: test
+    - <<: *test
       env: TOXENV=py27
       python: "2.7"
 
-    - stage: test
+    - <<: *test
       env: TOXENV=py34
       python: "3.4"
 
-    - stage: test
+    - <<: *test
       env: TOXENV=py35
       python: "3.5"
 
-    - stage: test
+    - <<: *test
       env: TOXENV=py36
       python: "3.6"
 
-    - stage: test
+    - <<: *test
       env: TOXENV=py37
       python: "3.7"
 
     - stage: deploy to pypi
-      before_install: skip
       install: true
       script: skip
-      after_success: skip
       deploy:
         provider: pypi
         user: agronholm
@@ -60,16 +59,10 @@
         on:
           tags: true
 
-before_install: docker-compose up -d
-
 install: pip install tox
 
 script: tox
 
-after_success:
-  - pip install coveralls
-  - coveralls
-
 notifications:
   webhooks:
     urls:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/APScheduler.egg-info/PKG-INFO 
new/APScheduler-3.6.1/APScheduler.egg-info/PKG-INFO
--- old/APScheduler-3.6.0/APScheduler.egg-info/PKG-INFO 2019-03-18 
11:15:38.000000000 +0100
+++ new/APScheduler-3.6.1/APScheduler.egg-info/PKG-INFO 2019-07-19 
12:09:59.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: APScheduler
-Version: 3.6.0
+Version: 3.6.1
 Summary: In-process task scheduler with Cron-like capabilities
 Home-page: https://github.com/agronholm/apscheduler
 Author: Alex Grönholm
@@ -95,14 +95,14 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
-Provides-Extra: sqlalchemy
+Provides-Extra: mongodb
+Provides-Extra: gevent
+Provides-Extra: redis
+Provides-Extra: asyncio
 Provides-Extra: rethinkdb
 Provides-Extra: testing
-Provides-Extra: redis
+Provides-Extra: sqlalchemy
 Provides-Extra: zookeeper
-Provides-Extra: asyncio
 Provides-Extra: doc
-Provides-Extra: twisted
 Provides-Extra: tornado
-Provides-Extra: mongodb
-Provides-Extra: gevent
+Provides-Extra: twisted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/PKG-INFO 
new/APScheduler-3.6.1/PKG-INFO
--- old/APScheduler-3.6.0/PKG-INFO      2019-03-18 11:15:38.000000000 +0100
+++ new/APScheduler-3.6.1/PKG-INFO      2019-07-19 12:09:59.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: APScheduler
-Version: 3.6.0
+Version: 3.6.1
 Summary: In-process task scheduler with Cron-like capabilities
 Home-page: https://github.com/agronholm/apscheduler
 Author: Alex Grönholm
@@ -95,14 +95,14 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
-Provides-Extra: sqlalchemy
+Provides-Extra: mongodb
+Provides-Extra: gevent
+Provides-Extra: redis
+Provides-Extra: asyncio
 Provides-Extra: rethinkdb
 Provides-Extra: testing
-Provides-Extra: redis
+Provides-Extra: sqlalchemy
 Provides-Extra: zookeeper
-Provides-Extra: asyncio
 Provides-Extra: doc
-Provides-Extra: twisted
 Provides-Extra: tornado
-Provides-Extra: mongodb
-Provides-Extra: gevent
+Provides-Extra: twisted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/apscheduler/schedulers/qt.py 
new/APScheduler-3.6.1/apscheduler/schedulers/qt.py
--- old/APScheduler-3.6.0/apscheduler/schedulers/qt.py  2018-12-16 
10:38:18.000000000 +0100
+++ new/APScheduler-3.6.1/apscheduler/schedulers/qt.py  2019-07-19 
12:09:36.000000000 +0200
@@ -26,7 +26,8 @@
     def _start_timer(self, wait_seconds):
         self._stop_timer()
         if wait_seconds is not None:
-            self._timer = QTimer.singleShot(wait_seconds * 1000, 
self._process_jobs)
+            wait_time = min(wait_seconds * 1000, 2147483647)
+            self._timer = QTimer.singleShot(wait_time, self._process_jobs)
 
     def _stop_timer(self):
         if self._timer:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/apscheduler/util.py 
new/APScheduler-3.6.1/apscheduler/util.py
--- old/APScheduler-3.6.0/apscheduler/util.py   2018-12-16 10:38:18.000000000 
+0100
+++ new/APScheduler-3.6.1/apscheduler/util.py   2019-07-19 12:09:36.000000000 
+0200
@@ -5,7 +5,7 @@
 from datetime import date, datetime, time, timedelta, tzinfo
 from calendar import timegm
 from functools import partial
-from inspect import isclass
+from inspect import isclass, ismethod
 import re
 
 from pytz import timezone, utc, FixedOffset
@@ -263,7 +263,18 @@
     if '<locals>' in name:
         raise ValueError('Cannot create a reference to a nested function')
 
-    return '%s:%s' % (obj.__module__, name)
+    if ismethod(obj):
+        if hasattr(obj, 'im_self') and obj.im_self:
+            # bound method
+            module = obj.im_self.__module__
+        elif hasattr(obj, 'im_class') and obj.im_class:
+            # unbound method
+            module = obj.im_class.__module__
+        else:
+            module = obj.__module__
+    else:
+        module = obj.__module__
+    return '%s:%s' % (module, name)
 
 
 def ref_to_obj(ref):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/docs/extending.rst 
new/APScheduler-3.6.1/docs/extending.rst
--- old/APScheduler-3.6.0/docs/extending.rst    2018-03-24 16:37:07.000000000 
+0100
+++ new/APScheduler-3.6.1/docs/extending.rst    2019-07-19 12:09:36.000000000 
+0200
@@ -24,7 +24,7 @@
   scheduler.add_job(target, trigger)
 
 You can also register it as a plugin so you can use the alternate form of
-``add_jobstore``::
+``add_job``::
 
   scheduler.add_job(target, 'my_trigger', arg1='foo')
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/docs/versionhistory.rst 
new/APScheduler-3.6.1/docs/versionhistory.rst
--- old/APScheduler-3.6.0/docs/versionhistory.rst       2019-03-18 
10:19:55.000000000 +0100
+++ new/APScheduler-3.6.1/docs/versionhistory.rst       2019-07-19 
12:09:36.000000000 +0200
@@ -4,6 +4,14 @@
 To find out how to migrate your application from a previous version of
 APScheduler, see the :doc:`migration section <migration>`.
 
+3.6.1
+-----
+
+* Fixed OverflowError on Qt scheduler when the wait time is very long
+* Fixed methods inherited from base class could not be executed by processpool 
executor
+  (PR by Yang Jian)
+
+
 3.6.0
 -----
 
@@ -11,6 +19,7 @@
 * Adapted ``RethinkDBJobStore`` to v2.4 of the ``rethink`` library
 * Fixed ``DeprecationWarnings`` about ``collections.abc`` on Python 3.7 (PR by 
Roman Levin)
 
+
 3.5.3
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/APScheduler-3.6.0/tests/test_util.py 
new/APScheduler-3.6.1/tests/test_util.py
--- old/APScheduler-3.6.0/tests/test_util.py    2018-12-16 10:38:18.000000000 
+0100
+++ new/APScheduler-3.6.1/tests/test_util.py    2019-07-19 12:09:36.000000000 
+0200
@@ -9,6 +9,7 @@
 import six
 import sys
 
+from apscheduler.job import Job
 from apscheduler.util import (
     asint, asbool, astimezone, convert_to_datetime, datetime_to_utc_timestamp,
     utc_timestamp_to_datetime, timedelta_seconds, datetime_ceil, 
get_callable_name, obj_to_ref,
@@ -42,6 +43,10 @@
             pass
 
 
+class InheritedDummyClass(Job):
+    pass
+
+
 class TestAsint(object):
     @pytest.mark.parametrize('value', ['5s', 'shplse'], ids=['digit first', 
'text'])
     def test_invalid_value(self, value):
@@ -229,8 +234,13 @@
                            reason="Requires __qualname__ (Python 3.3+)")(
             (DummyClass.staticmeth, 'tests.test_util:DummyClass.staticmeth')
         ),
+        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')
+        ),
         (timedelta, 'datetime:timedelta'),
-    ], ids=['unbound method', 'class method', 'inner class method', 'static 
method', 'timedelta'])
+    ], ids=['unbound method', 'class method', 'inner class method', 'static 
method',
+            'inherited class method', 'timedelta'])
     def test_valid_refs(self, input, expected):
         assert obj_to_ref(input) == expected
 


Reply via email to