From c918d57a2ad2a26e5f1b868902ef9ed439f063fdc19c18ff10c18bfa75492fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 18 Oct 2018 07:34:56 +0000 Subject: [PATCH 1/2] Accepting request 642664 from home:sjamgade:branches:devel:languages:python - update to 3.5.1 - (tag: v3.5.1) Compare next_date to start_date, not previous_fire_time - Removed one leftover parameter annotation - Fixed DST behavior for CronTrigger - Added support for UTC offsets in datetime parsing - Fixed erroneous changelog entry about month names in ``CronTrigger`` - Prevent deadlocks in scheduler shutdown (#268) - Fixed CronTrigger with jitter producing fire times beyond end_date - Fixed OverflowError on Windows when wait_seconds was too large - Fixed DeprecationWarning for get_jobs() - (tag: v3.5.0) Bumped up the fallback version - Fixed Python 2.7 compatibility in trigger tests - Added jitter support to combining triggers - Fixed ineffective pickle tests for And/OrTrigger - Renamed the base class for the combining triggers - Added combining triggers (AndTrigger + OrTrigger) - Added a troubleshooting section - Allow multiple spaces in crontab format (#260) - Cancel all pending futures on AsyncIOExecutor shutdown - Fixed passing "wait" as keyword argument to AsyncIOScheduler.shutdown() - Allow spaces around commas in CronTrigger fields - Don't display empty jitter in the repr() of cron/interval triggers - Added support for creating cron triggers from crontab expressions - Added support for named months - Added better validation for cron trigger expressions - Added version history entry for PR #258 - Implement random jitter option for CronTrigger and IntervalTrigger (#258) - Increased timeout to avoid test failure on pypy3 - Removed pytest-catchlog from test requirements - Fixed traceback or its frames not being available for logger.exception() OBS-URL: https://build.opensuse.org/request/show/642664 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=17 --- APScheduler-3.3.1.tar.gz | 3 -- APScheduler-3.5.1.tar.gz | 3 ++ python-APScheduler.changes | 65 ++++++++++++++++++++++++++++++++++++++ python-APScheduler.spec | 4 +-- 4 files changed, 70 insertions(+), 5 deletions(-) delete mode 100644 APScheduler-3.3.1.tar.gz create mode 100644 APScheduler-3.5.1.tar.gz diff --git a/APScheduler-3.3.1.tar.gz b/APScheduler-3.3.1.tar.gz deleted file mode 100644 index c682f3f..0000000 --- a/APScheduler-3.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f68874dff1bdffcc6ce3adb7840c1e4d162c609a3e3f831351df30b75732767b -size 84198 diff --git a/APScheduler-3.5.1.tar.gz b/APScheduler-3.5.1.tar.gz new file mode 100644 index 0000000..2fd9e0c --- /dev/null +++ b/APScheduler-3.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:952c8f46a11f32b9d5bfbe3e347dac2cdf0680d8b4799590dc9c3a9865b73b65 +size 93129 diff --git a/python-APScheduler.changes b/python-APScheduler.changes index b022d96..aa76889 100644 --- a/python-APScheduler.changes +++ b/python-APScheduler.changes @@ -1,3 +1,68 @@ +------------------------------------------------------------------- +Wed Oct 17 14:35:19 UTC 2018 - sjamgade@suse.com + +- update to 3.5.1 + - (tag: v3.5.1) Compare next_date to start_date, not previous_fire_time + - Removed one leftover parameter annotation + - Fixed DST behavior for CronTrigger + - Added support for UTC offsets in datetime parsing + - Fixed erroneous changelog entry about month names in ``CronTrigger`` + - Prevent deadlocks in scheduler shutdown (#268) + - Fixed CronTrigger with jitter producing fire times beyond end_date + - Fixed OverflowError on Windows when wait_seconds was too large + - Fixed DeprecationWarning for get_jobs() + - (tag: v3.5.0) Bumped up the fallback version + - Fixed Python 2.7 compatibility in trigger tests + - Added jitter support to combining triggers + - Fixed ineffective pickle tests for And/OrTrigger + - Renamed the base class for the combining triggers + - Added combining triggers (AndTrigger + OrTrigger) + - Added a troubleshooting section + - Allow multiple spaces in crontab format (#260) + - Cancel all pending futures on AsyncIOExecutor shutdown + - Fixed passing "wait" as keyword argument to AsyncIOScheduler.shutdown() + - Allow spaces around commas in CronTrigger fields + - Don't display empty jitter in the repr() of cron/interval triggers + - Added support for creating cron triggers from crontab expressions + - Added support for named months + - Added better validation for cron trigger expressions + - Added version history entry for PR #258 + - Implement random jitter option for CronTrigger and IntervalTrigger (#258) + - Increased timeout to avoid test failure on pypy3 + - Removed pytest-catchlog from test requirements + - Fixed traceback or its frames not being available for logger.exception() + - Fixed memory leak when scheduled jobs raise exceptions + - Fixed the maximum value for CronTrigger's "year" field + - Switched to using .readthedocs.yml for RTD configuration + - Fixed flake8's "Don't use bare except:" errors + - Don't require sudo where it's not needed + - Added the engine_options option to SQLAlchemyJobStore + - Fixed syntax highlighting and indentation issues + - (tag: v3.4.0) Added Gitter webhook + - Mentioned the Gitter room in README + - Formatted list items in changelog to be consistent with previous ones + - Moved the PyPy test jobs to the top + - Made the deploy stage conditional + - Test against PyQT5 on Python 3.6 too + - Added docker-compose configuration to facilitate testing + - Updated the docs to conform to the 99 column limit + - Added a workaround for import troubles with PyInstaller et al + - Added documentation and changelog entry for the "tableschema" argument + - Moved coverage configuration to setup.cfg + - Fixed minor error in Travis deployment configuration + - Fixed PyPy3 test failure + - Adding optional schema argument to SQLAlchemy (#224) + - Fixed asyncio tests on Python 3.4 + - Updated Travis/tox configuration and the supported Python interpreters + - Added missing single quote in documentation + - Use getfixturevalue() instead of the deprecated getfuncargvalue() + - Renamed ZookeeperJobStore to ZooKeeperJobStore in setup.py (#199) + - Use tuple in catching exceptions (#196) + - Fixed case where both Qt4 and Qt5 are installed, but Qt4 is already imported (#195) + - Fixed description in removed event (#188) + - Updated version history + + ------------------------------------------------------------------- Tue Nov 28 16:40:20 UTC 2017 - sean.marlow@suse.com diff --git a/python-APScheduler.spec b/python-APScheduler.spec index 3c1634b..e10b087 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -1,7 +1,7 @@ # # spec file for package python-APScheduler # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-APScheduler -Version: 3.3.1 +Version: 3.5.1 Release: 0 Url: http://pypi.python.org/pypi/APScheduler/ Summary: In-process task scheduler with Cron-like capabilities From 83556f111cc0598e0e46eef973763e1ed841fa87dd8a7e0efc6cfbbbe71eca00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 18 Oct 2018 08:02:45 +0000 Subject: [PATCH 2/2] - Use license from the archive - Enable tests - Add all the recommended packages as suggests (databases) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=18 --- LICENSE.txt | 19 -------------- python-APScheduler.changes | 7 +++++ python-APScheduler.spec | 53 ++++++++++++++++++++++++++------------ 3 files changed, 44 insertions(+), 35 deletions(-) delete mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index c6f1cb9..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 Vladimir Keleshev, - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/python-APScheduler.changes b/python-APScheduler.changes index aa76889..b513679 100644 --- a/python-APScheduler.changes +++ b/python-APScheduler.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 18 08:02:10 UTC 2018 - Tomáš Chvátal + +- Use license from the archive +- Enable tests +- Add all the recommended packages as suggests (databases) + ------------------------------------------------------------------- Wed Oct 17 14:35:19 UTC 2018 - sjamgade@suse.com diff --git a/python-APScheduler.spec b/python-APScheduler.spec index e10b087..9c4b29f 100644 --- a/python-APScheduler.spec +++ b/python-APScheduler.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,28 +20,45 @@ Name: python-APScheduler Version: 3.5.1 Release: 0 -Url: http://pypi.python.org/pypi/APScheduler/ Summary: In-process task scheduler with Cron-like capabilities License: MIT Group: Development/Languages/Python +URL: http://pypi.python.org/pypi/APScheduler/ Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz -Source1: LICENSE.txt -BuildRequires: %{python_module devel} +BuildRequires: %{python_module SQLAlchemy >= 0.8} +BuildRequires: %{python_module Twisted} +BuildRequires: %{python_module gevent} +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} +BuildRequires: %{python_module six >= 1.4.0} +BuildRequires: %{python_module tornado} +BuildRequires: %{python_module tzlocal >= 1.2} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%ifpython2 -Requires: python2-funcsigs -Requires: python2-futures -%endif +BuildRequires: python2-funcsigs +BuildRequires: python2-futures +BuildRequires: python2-mock +BuildRequires: python2-trollius +BuildRequires: python3-pytest-asyncio Requires: python-pytz Requires: python-six >= 1.4.0 Requires: python-tzlocal >= 1.2 - +Recommends: python-SQLAlchemy >= 0.8 +Recommends: python-gevent +Recommends: python-Twisted +Suggests: python-kazoo +Suggests: python-pymongo >= 2.8 +Suggests: python-redis +Suggests: python-tornado >= 4.3 BuildArch: noarch - +%ifpython2 +Requires: python2-funcsigs +Requires: python2-futures +Requires: python2-trollius +%endif %python_subpackages %description @@ -60,25 +77,29 @@ APscheduler provides multiple job stores. * Delayed scheduling of single run jobs (like the UNIX "at" command) * Interval-based (run a job at specified time intervals) * Multiple, simultaneously active job stores: - * RAM + * RAM * File-based simple database (shelve) * SQLAlchemy (any supported RDBMS works) * MongoDB %prep %setup -q -n APScheduler-%{version} +# we don't want the tweaked pytest config options +rm setup.cfg %build -install -m 644 %{SOURCE1} %{_builddir}/APScheduler-%{version} %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v + %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.rst +%license LICENSE.txt +%doc README.rst %doc examples/ %{python_sitelib}/*