Hello community, here is the log from the commit of package python-APScheduler for openSUSE:Factory checked in at 2017-10-09 19:40:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-APScheduler (Old) and /work/SRC/openSUSE:Factory/.python-APScheduler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-APScheduler" Mon Oct 9 19:40:15 2017 rev:2 rq:522319 version:3.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-APScheduler/python-APScheduler.changes 2015-12-09 22:30:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-APScheduler.new/python-APScheduler.changes 2017-10-09 19:40:17.664487403 +0200 @@ -1,0 +2,170 @@ +Thu Sep 7 19:30:49 UTC 2017 - sean.mar...@suse.com + +- Funcsigs is only required for python2. + +------------------------------------------------------------------- +Mon Aug 28 17:29:11 UTC 2017 - bear...@opensuse.org + +- Clarify requirement of 'tzlocal' dependency + +------------------------------------------------------------------- +Wed Jul 12 11:17:56 UTC 2017 - jeng...@inai.de + +- Ensure neutrality of description, and remove unspecific mention + of Quartz' features. + +------------------------------------------------------------------- +Wed Jul 12 09:11:33 UTC 2017 - tbecht...@suse.com + +update to version 3.3.1 + * Updated the gevent test dependency to 1.1 final + * Simplified the tox.ini structure a little + * Zookeeper jobstore support (#144) + * rethinkdb_store.py edited online with Bitbucket + * Renamed pytest section in setup.cfg to avoid the warning + * All test for python 2.7 are now passing. + * Don't try to test rethinkdb on Python 3 + * Install PyQt5 when testing on Python 3.5 + * Shortened the ID column of the apscheduler_jobs table in the SQLAlchemy job store to accommodate MySQL limitations (again). + * Moved rethinkdb to common test requirements since it now works with Python 3 + * Added time zone to the output of CronTrigger and IntervalTrigger + * Fixed compatibility with pymongo 3.0 + * Fixed the asyncio scheduler example on Python < 3.3 + * Fixed scheduler loop breaking if the job store fails (fixes #109) + * fix CronTrigger.get_next_fire_time() bug: calculate start_date problem + * Fixed the MongoDB job store repr() test to work with newer versions of PyMongo + * Fixed incorrect DateTrigger run time with run_date=None and a non-local timezone + * Small test cleanups + * Added the ability to pause and resume job processing in the scheduler + * Added tox.ini to MANIFEST.in + * All test completed + * Set a minimum version for tzlocal to prevent CentOS related issue reports + * Migrated to a more modern way for specifying conditional dependencies for wheels + * Reconfigured IRC notification settings to produce less noise + * Fixed a copy paste error in asyncio scheduler example docstring (#153) + * Fixed @scheduled_job not playing nice with persistent job stores (fixes #150) + * Restored backwards compatibility in the MongoDB job store and updated the version history + * add some CronTrigger tests + * Added an explicit note about the effects of misfire_grace_time + * Updated tox.ini to properly work with the latest versions of dependencies + * Re-enabled Python 3.3 testing on Travis + * Reverted the setuptools dependency bump + * Made "funcsigs" a mandatory dependency on Python 2 + * Fixed wrong import in the triggers documentation + * Implemented __getstate__ and __setstate__ for trigger classes (fixes #121) + * Added the virtualenv directory to py.test excludes + * Fixed inconsistencies with __slots__ + * Dropped PyPy3 tests/support + * Bumped up version to indicate development status + * Updated the changelog + * Store the test SQLite database in a temporary directory + * Improved the error message that comes when the local timezone cannot be determined (only on CentOS?) (fixes #87) + * Improved the IntervalTrigger's dst change test + * Updated jobstore related documentation and examples + * Added coroutine support for asyncio and Tornado executors (fixes #96, #98) + * Renamed ZookeeperJobStore to ZooKeeperJobStore + * Removed unnecessary port mappings for ZooKeeper + * Disabled Travis testing on Python 3.3 due to strange RethinkDB test failures + * Added missing py35 entry to tox's envlist + * Fixed _run_job_error() being called with the wrong number of arguments in most executors + * Allow unicode function references for jobs on Python 2 + * Travis now has a recent enough PyPy that failures on it should no longer be tolerated + * Added example code for creating an RPC service around APScheduler + * Improved the test for ref_to_obj() + * Working on test + * Fixed a memory leak in the base executor class (thanks Stefan Nordhausen) + * Fixed minor issues with tests + * Corrected date strings in the interval example + * Changed cleanup requests in fixtures into yield_fixtures + * Fixed wrong job sort order in some job stores and a related exception in the redis store (fixes #86) + * Moved the connection logic in job stores to the start() method + * Documented the migration and the scheduler states + * Fixed BlockingScheduler, BackgroundScheduler and GeventScheduler incorrectly waiting MAX_WAIT_TIME when wait_seconds is 0 + * Rearranged .gitignore and added "virtualenv" + * Added version history note for the MongoDB JobLookupError fix + * Upgraded setuptools requirement (fixes #123) + * Improve module import from ref (#149) + * Re-enabled coverage testing + * Use MongoDB through Docker as the mongodb service does not work as advertised + * Fixed endless loop with CronTrigger on computers with low clock resolution + * Initial commit for new rethinkdb jobstore for apscheduler 3.0 + * Fixed start date getting set too far in the future in IntervalTrigger (fixes #70) + * Acquire locks before shutting down executors and job stores in shutdown() (fixes #104) + * Add license to MANIFEST.in + * Added tests for the import fix in ref_to_obj() + * Replace pytest's norecursedirs with testpaths in setup.cfg + * Fixed CronTrigger's range expression allowing values outside of the range + * Added missing EVENT_ALL_JOBS_REMOVED to EVENT_ALL + * Cleanup to fix flake8 tests + * Migrated to setuptools_scm + * Added rethinkdb to setup.py + * All tests are passing on python 2.7 except for the 3 same tests. + * Added .mailmap + * Fixed off-by-1-hour bug in cron trigger while crossing the DST threshold (fixes #115) + * PyPy/PyPy3 versions on Travis are very old so they should be allowed to fail + * Further simplified tox.ini + * Added tests and classifier for Python 3.6 + * Modified get_callable_name() to work with a wider variety of callables + * Added Travis PyPI deploy configuration + * Migrated code to Github + * Added conditional dependencies to extras_require + * Fixed timezone in debug logging when displaying the next wakeup time + * Don't install Twisted on CPython 3.2 (needs unicode prefix support for string literals) + * Modified tox configuration to pass through arbitrary arguments to py.test + * Replaced custom log capture fixture with pytest-catchlog + * Added Travis and Coveralls badges to README + * Added EVENT_JOB_SUBMITTED and EVENT_JOB_MAX_INSTANCES events + * Rethinkdb Jobstore added + * Fixed positional weekday position expressions failing on Python 3 + * Require a new enough version of setuptools for entry points to work properly + * Corrected contributor name + * Improved PEP 8 and PEP 257 compliancy + * Fixed flake8 complaints + * Fix typo in userguide.rst + * Removed redundant entries from tox.ini + * Fixed ValueError when the target callable has a default keyword argument that wasn't overridden + * Corrected the author name in setup.py + * Removed Python 3.2 test environment + * Fixed passing start_time and/or end_time to CronTrigger and IntervalTrigger as strings (fixes #164) + * Fixed infinite loop in the cron trigger if an expression only contained values out of range of the target field (fixes #105) + * Raise exception when attempting to serialize a job that doesn't have func_ref filled in + * Cleanups and fixes for the rethinkdb job store + * Specifying the gevent version isn't really necessary + * Added references to the trigger types to the user guide + * Added requirements.txt for building documentation + * Move the wakeup() call directly to BaseScheduler.start() + * Removed unused import + * Removed py.test harness and the conditional dependencies in install_requires + * Fixed wrong lock being used when removing executors + * Moved the badges to the top of README + * Updated tox-travis configuration syntax + * Replaced six.u('') with u'' + * fixes add_executor while scheduler is running. + * Removed (official) Python 2.6 support + * Fixed next_run_time parser + * Removed Python 2.6 from the testing matrix + * Added pickling tests for triggers + * Cleaned up imports + * Finished up the pause/resume scheduler feature w/ docs + * Added Travis configuration + * moved rethinkdb.py to rethink_db.py because of conflicts of rethinkdb driver + * Fixed str(job) or unicode(job) raising an exception for pending jobs (fixes #67) + * Moved testing dependencies to extras from tox.ini + * Added rethinkdb to test suite + * Backtracked on enum use + * Skip missing interpreters when running tox + * Fixed MongoDB job store using id() instead of job id in JobLookupError + * Added support for rethinkdb + * Fixed flake8 error + * Use the official ZooKeeper image in Travis tests + * Removed erroneous changelog entry + * Added method chaining for some Job methods and related methods in the scheduler + * Update super call to support Python 2.7 (#171) + * Updated version history + +------------------------------------------------------------------- +Wed Jul 12 08:11:10 UTC 2017 - m...@suse.com + +- Implement single-spec version + +------------------------------------------------------------------- Old: ---- APScheduler-3.0.2.tar.gz New: ---- APScheduler-3.3.1.tar.gz LICENSE.txt ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-APScheduler.spec ++++++ --- /var/tmp/diff_new_pack.zZ4aMy/_old 2017-10-09 19:40:18.828436245 +0200 +++ /var/tmp/diff_new_pack.zZ4aMy/_new 2017-10-09 19:40:18.836435894 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-APScheduler # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,51 +16,45 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-APScheduler -Version: 3.0.2 +Version: 3.3.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 -Source: http://pypi.python.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 devel} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build +%ifpython2 +Requires: python2-funcsigs +%endif Requires: python-futures Requires: python-pytz Requires: python-six -Requires: python-tzlocal -BuildRequires: python-devel -BuildRequires: python-futures -BuildRequires: python-mock -BuildRequires: python-nose -BuildRequires: python-pytest -BuildRequires: python-pytz -BuildRequires: python-six -BuildRequires: python-tzlocal -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else +Requires: python-tzlocal >= 1.2 + BuildArch: noarch -%endif + +%python_subpackages %description -Advanced Python Scheduler (APScheduler) is a light but powerful in-process task +Advanced Python Scheduler (APScheduler) is an in-process task scheduler that lets you schedule jobs (functions or any python callables) to be -executed at times of your choosing. +executed at any time of your choosing. -This can be a far better alternative to externally run cron scripts for +This can be an alternative to externally run cron scripts for long-running applications (e.g. web applications), as it is platform neutral -and can directly access your application's variables and functions. +and can access the application's variables and functions. -The development of APScheduler was heavily influenced by the Quartz -task scheduler written in Java. -APScheduler provides most of the major features that Quartz does, but it also -provides features not present in Quartz (such as multiple job stores). +APscheduler provides multiple job stores. - -* No (hard) external dependencies -* Thread-safe API -* Excellent test coverage * Configurable scheduling mechanisms (triggers): * Cron-like scheduling * Delayed scheduling of single run jobs (like the UNIX "at" command) @@ -71,29 +65,21 @@ * SQLAlchemy (any supported RDBMS works) * MongoDB - %prep %setup -q -n APScheduler-%{version} %build -python setup.py build -#TODO/FIXME: tests fail with argument mismatch -rm tests/test_util.py -rm tests/test_executors.py -rm tests/test_job.py -rm tests/test_jobstores.py -rm tests/test_schedulers.py -rm tests/test_triggers.py +install -m 644 %{SOURCE1} %{_builddir}/APScheduler-%{version} +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -%check -nosetests +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) -%doc README.rst examples +%doc LICENSE.txt README.rst +%doc examples/ %{python_sitelib}/* %changelog ++++++ APScheduler-3.0.2.tar.gz -> APScheduler-3.3.1.tar.gz ++++++ ++++ 7470 lines of diff (skipped) ++++++ LICENSE.txt ++++++ Copyright (c) 2012 Vladimir Keleshev, <vladi...@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.