From 5cbbe287e6a83cd9500dd11a4f8f1100e5d5624b87896affd888dc40b2cdd83c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 1 Feb 2021 17:39:58 +0000 Subject: [PATCH] - update to 3.7.0: * Dropped support for Python 3.4 * Added PySide2 support (PR by Abdulla Ibrahim) * Pinned ``tzlocal`` to a version compatible with pytz * Ensured that jitter is always non-negative to prevent triggers from firing more often than intended * Changed ``AsyncIOScheduler`` to obtain the event loop in ``start()`` instead of ``__init__()``, to prevent situations where the scheduler won't run because it's using a different event loop than then one currently running * Made it possible to create weak references to ``Job`` instances * Made the schedulers explicitly raise a descriptive ``TypeError`` when serialization is attempted * Fixed Zookeeper job store using backslashes instead of forward slashes for paths on Windows * Fixed deprecation warnings on the MongoDB job store and increased the minimum PyMongo * Fixed ``BlockingScheduler`` and ``BackgroundScheduler`` shutdown hanging after the user has erroneously tried to start it twice * Fixed memory leak when coroutine jobs raise exceptions * Fixed inability to schedule wrapped functions with extra arguments when the wrapped function cannot accept them but the wrapper can (original PR by Egor Malykh) * Fixed potential ``where`` clause error in the SQLAlchemy job store when a subclass uses more than one search condition * Fixed a problem where bound methods added as jobs via textual references were called with an unwanted extra ``self`` argument (PR by Pengjie Song) * Fixed ``BrokenPoolError`` in ``ProcessPoolExecutor`` so that it will automatically replace the broken pool with a fresh instance OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=40 --- APScheduler-3.6.3.tar.gz | 3 --- APScheduler-3.7.0.tar.gz | 3 +++ python-APScheduler.changes | 30 ++++++++++++++++++++++++++++++ python-APScheduler.spec | 12 ++++++------ 4 files changed, 39 insertions(+), 9 deletions(-) delete mode 100644 APScheduler-3.6.3.tar.gz create mode 100644 APScheduler-3.7.0.tar.gz diff --git a/APScheduler-3.6.3.tar.gz b/APScheduler-3.6.3.tar.gz deleted file mode 100644 index 2a18c32..0000000 --- a/APScheduler-3.6.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3bb5229eed6fbbdafc13ce962712ae66e175aa214c69bed35a06bffcf0c5e244 -size 96309 diff --git a/APScheduler-3.7.0.tar.gz b/APScheduler-3.7.0.tar.gz new file mode 100644 index 0000000..83a4529 --- /dev/null +++ b/APScheduler-3.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cab7f2521e107d07127b042155b632b7a1cd5e02c34be5a28ff62f77c900c6a +size 97826 diff --git a/python-APScheduler.changes b/python-APScheduler.changes index 3316f92..5fd3c4d 100644 --- a/python-APScheduler.changes +++ b/python-APScheduler.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Mon Feb 1 17:38:33 UTC 2021 - Dirk Müller + +- update to 3.7.0: + * Dropped support for Python 3.4 + * Added PySide2 support (PR by Abdulla Ibrahim) + * Pinned ``tzlocal`` to a version compatible with pytz + * Ensured that jitter is always non-negative to prevent triggers from firing + more often than intended + * Changed ``AsyncIOScheduler`` to obtain the event loop in ``start()`` + instead of ``__init__()``, + to prevent situations where the scheduler won't run because it's using a + different event loop than then one currently running + * Made it possible to create weak references to ``Job`` instances + * Made the schedulers explicitly raise a descriptive ``TypeError`` when serialization is attempted + * Fixed Zookeeper job store using backslashes instead of forward slashes for paths + on Windows + * Fixed deprecation warnings on the MongoDB job store and increased the minimum PyMongo + * Fixed ``BlockingScheduler`` and ``BackgroundScheduler`` shutdown hanging after the user has + erroneously tried to start it twice + * Fixed memory leak when coroutine jobs raise exceptions + * Fixed inability to schedule wrapped functions with extra arguments when the wrapped function + cannot accept them but the wrapper can (original PR by Egor Malykh) + * Fixed potential ``where`` clause error in the SQLAlchemy job store when a subclass uses more than + one search condition + * Fixed a problem where bound methods added as jobs via textual references were called with an + unwanted extra ``self`` argument (PR by Pengjie Song) + * Fixed ``BrokenPoolError`` in ``ProcessPoolExecutor`` so that it will automatically replace the + broken pool with a fresh instance + ------------------------------------------------------------------- Fri Jan 22 11:10:57 UTC 2021 - Markéta Machová diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 86a2d16..1034982 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,7 +1,7 @@ # # spec file for package python-APScheduler # -# 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,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-APScheduler -Version: 3.6.3 +Version: 3.7.0 Release: 0 Summary: In-process task scheduler with Cron-like capabilities License: MIT @@ -28,27 +28,27 @@ Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APS BuildRequires: %{python_module SQLAlchemy >= 0.8} BuildRequires: %{python_module Twisted} BuildRequires: %{python_module gevent} +BuildRequires: %{python_module pytest < 6} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-tornado} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytz} 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} +BuildRequires: %{python_module tzlocal >= 2.0} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-pytest-asyncio Requires: python-pytz Requires: python-six >= 1.4.0 -Requires: python-tzlocal >= 1.2 +Requires: python-tzlocal >= 2.0 Recommends: python-SQLAlchemy >= 0.8 Recommends: python-Twisted Recommends: python-gevent Suggests: python-kazoo -Suggests: python-pymongo >= 2.8 +Suggests: python-pymongo >= 3.0 Suggests: python-redis Suggests: python-tornado >= 4.3 BuildArch: noarch