forked from pool/python-APScheduler
Accepting request 642797 from devel:languages:python
- Use license from the archive - Enable tests - Add all the recommended packages as suggests (databases) - 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 OBS-URL: https://build.opensuse.org/request/show/642797 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-APScheduler?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f68874dff1bdffcc6ce3adb7840c1e4d162c609a3e3f831351df30b75732767b
|
|
||||||
size 84198
|
|
||||||
3
APScheduler-3.5.1.tar.gz
Normal file
3
APScheduler-3.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:952c8f46a11f32b9d5bfbe3e347dac2cdf0680d8b4799590dc9c3a9865b73b65
|
||||||
|
size 93129
|
||||||
19
LICENSE.txt
19
LICENSE.txt
@@ -1,19 +0,0 @@
|
|||||||
Copyright (c) 2012 Vladimir Keleshev, <vladimir@keleshev.com>
|
|
||||||
|
|
||||||
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.
|
|
||||||
@@ -1,3 +1,75 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 18 08:02:10 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- 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
|
Tue Nov 28 16:40:20 UTC 2017 - sean.marlow@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-APScheduler
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,36 +12,53 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-APScheduler
|
Name: python-APScheduler
|
||||||
Version: 3.3.1
|
Version: 3.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://pypi.python.org/pypi/APScheduler/
|
|
||||||
Summary: In-process task scheduler with Cron-like capabilities
|
Summary: In-process task scheduler with Cron-like capabilities
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
URL: http://pypi.python.org/pypi/APScheduler/
|
||||||
Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/A/APScheduler/APScheduler-%{version}.tar.gz
|
||||||
Source1: LICENSE.txt
|
BuildRequires: %{python_module SQLAlchemy >= 0.8}
|
||||||
BuildRequires: %{python_module devel}
|
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_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: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: python2-funcsigs
|
||||||
%ifpython2
|
BuildRequires: python2-futures
|
||||||
Requires: python2-funcsigs
|
BuildRequires: python2-mock
|
||||||
Requires: python2-futures
|
BuildRequires: python2-trollius
|
||||||
%endif
|
BuildRequires: python3-pytest-asyncio
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires: python-six >= 1.4.0
|
Requires: python-six >= 1.4.0
|
||||||
Requires: python-tzlocal >= 1.2
|
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
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Requires: python2-funcsigs
|
||||||
|
Requires: python2-futures
|
||||||
|
Requires: python2-trollius
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -60,25 +77,29 @@ APscheduler provides multiple job stores.
|
|||||||
* Delayed scheduling of single run jobs (like the UNIX "at" command)
|
* Delayed scheduling of single run jobs (like the UNIX "at" command)
|
||||||
* Interval-based (run a job at specified time intervals)
|
* Interval-based (run a job at specified time intervals)
|
||||||
* Multiple, simultaneously active job stores:
|
* Multiple, simultaneously active job stores:
|
||||||
* RAM
|
* RAM
|
||||||
* File-based simple database (shelve)
|
* File-based simple database (shelve)
|
||||||
* SQLAlchemy (any supported RDBMS works)
|
* SQLAlchemy (any supported RDBMS works)
|
||||||
* MongoDB
|
* MongoDB
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n APScheduler-%{version}
|
%setup -q -n APScheduler-%{version}
|
||||||
|
# we don't want the tweaked pytest config options
|
||||||
|
rm setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
install -m 644 %{SOURCE1} %{_builddir}/APScheduler-%{version}
|
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE.txt
|
||||||
%doc LICENSE.txt README.rst
|
%doc README.rst
|
||||||
%doc examples/
|
%doc examples/
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user