14
0

38 Commits

Author SHA256 Message Date
061412ec21 - Actually drop {Build,}Requires on six.
- Support both lowercased and unnormalized metadata directory names.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=59
2025-04-10 03:44:12 +00:00
dd5cb0eb07 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=58
2025-03-26 00:21:42 +00:00
8c252a93db Accepting request 1240027 from home:glaubitz:branches:devel:languages:python
- Update to 3.11.0
  * Dropped support for Python 3.6 and 3.7
  * Added support for ZoneInfo time zones and deprecated support
    for pytz time zones
  * Added CalendarIntervalTrigger, backported from the 4.x series
  * Added the ability to export and import jobs via
    scheduler.export_jobs() and scheduler.import_jobs(),
    respectively
  * Removed the dependency on six
  * Changed ProcessPoolExecutor to spawn new subprocesses from scratch
    instead of forking on all platform
  * Fixed AsyncIOScheduler inadvertently creating a defunct event loop at
    start, leading to the scheduler not working at all
  * Fixed ProcessPoolExecutor not respecting the passed keyword arguments
    when a broken pool was being replaced
- Adjust upstream source name in spec file
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/request/show/1240027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=56
2025-01-25 22:00:14 +00:00
c1c08a983a - update to 3.10.4:
* Fixed incorrect module name being generated for references to
    class methods via a subclass where the subclass does not
    override the method
  * Fixed ``TypeError`` related to entry point iteration on
    Python 3.9
  * Ensured consistent support for both PySide and PyQt (v6 to
    v2) on QtScheduler
  * Replaced uses of the deprecated ``pkg_resources`` module with
    ``importlib.metadata``
  * Fixed scheduling class methods like ``B.methodname`` where
    the ``B`` class inherits from class ``A`` and ``methodname``
    is a class method of class ``A``
  * Fixed scheduler sleeping for too long (and thus jobs missing
    their scheduled run times) if its wakeup cycle takes too much
    time
  * Dropped support for Python versions older than 3.6
- version update to 3.9.1.post1
  would cause incorrect timing for a cron trigger

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=54
2023-09-18 19:33:50 +00:00
8eb4e45add Accepting request 1104199 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1104199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=52
2023-08-17 08:00:18 +00:00
b0acf4a018 - update to 3.10.1:
* Fixed ``TypeError: arguments did not match any overloaded
    call:`` in QtScheduler due to ``wait_time`` being float
    and not an integer which QT needs it to be

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=50
2023-03-14 22:18:10 +00:00
0e7ef83ac8 - update to 3.10.0:
* Fixed compatibility with SQLAlchemy 2.0 and bumped minimum
    supported version to 1.4
  * Dropped support for Python versions older than 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=48
2023-02-23 14:34:29 +00:00
52b9ab00c8 Accepting request 1039375 from home:yarunachalam:branches:devel:languages:python
- version update to 3.9.1.post1 
  * Dropped Python 2.7 from the list of supported Python versions
    Relates to #666.

OBS-URL: https://build.opensuse.org/request/show/1039375
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=46
2022-12-02 10:46:28 +00:00
2b578ac546 Accepting request 958267 from home:pgajdos:python
- version update to 3.9.1
  3.9.1
  -----
  * Removed a leftover check for pytz ``localize()`` and ``normalize()`` methods
  3.9.0
  -----
  * Added support for PySide6 to the Qt scheduler
  * No longer enforce pytz time zones (support for others is experimental in the 3.x series)
  * Fixed compatibility with PyMongo 4
  * Fixed pytz deprecation warnings
  * Fixed RuntimeError when shutting down the scheduler from a scheduled job

OBS-URL: https://build.opensuse.org/request/show/958267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=45
2022-03-01 15:03:54 +00:00
ab5b8f13e0 Accepting request 948124 from home:bnavigator:branches:devel:languages:python
- Unpin pytest<6

OBS-URL: https://build.opensuse.org/request/show/948124
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=44
2022-01-24 13:27:02 +00:00
0ae4fc6371 - update to 3.8.1:
* Allowed the use of tzlocal v4.0+ in addition to v2.*

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=43
2021-10-26 20:15:04 +00:00
7ba8bb16a7 - update to 3.8.0:
* Allowed passing through keyword arguments to the underlying stdlib executors in the
  thread/process pool executors (PR by Albert Xu)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=42
2021-10-16 19:01:18 +00:00
5cbbe287e6 - 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
2021-02-01 17:39:58 +00:00
e419ad1671 add pytest-asyncio
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=37
2021-01-22 11:08:27 +00:00
Tomáš Chvátal
609788c913 - Fix build wihtout python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=35
2020-03-16 06:33:16 +00:00
Tomáš Chvátal
37e015dc6d Accepting request 764015 from home:mcalabkova:branches:devel:languages:python
- update to version 3.6.3
  * just pytest4 compatibility
- drop obsolete patch compat-pytest4+.patch

OBS-URL: https://build.opensuse.org/request/show/764015
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=33
2020-01-13 14:40:47 +00:00
10a566135c - Update to 3.6.2, which fixes (together with the patch
compat-pytest4+.patch, which replaces pytest4.patch)
  incompatibility with pytest 4+. gh#agronholm/apscheduler#401

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=31
2019-11-04 22:51:58 +00:00
bb09adc149 Accepting request 745195 from home:mcepl:branches:devel:languages:python
- Add pytest4.patch to make test suite work even with pytest 4.
  gh#agronholm/apscheduler#401

OBS-URL: https://build.opensuse.org/request/show/745195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=30
2019-11-04 14:22:34 +00:00
010ef8971d Use %pytest macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=29
2019-11-04 14:12:38 +00:00
1a91deab3b Fix %pytest call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=28
2019-10-14 13:42:03 +00:00
Todd R
a9c56bdebc Accepting request 728511 from home:TheBlackCat:branches:devel:languages:python
Set pytest maximum version.

OBS-URL: https://build.opensuse.org/request/show/728511
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=26
2019-09-05 13:39:41 +00:00
Tomáš Chvátal
0786f49fd0 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=24
2019-07-22 09:09:49 +00:00
Tomáš Chvátal
2fe17ddda2 - Update to 3.6.0:
* Adapted RedisJobStore to v3.0 of the redis library
  * Adapted RethinkDBJobStore to v2.4 of the rethink library
  * Fixed DeprecationWarnings about collections.abc on Python 3.7 (PR by Roman Levin)
- Remove merged patches:
  * fix-tests.patch
  * 0001-Correct-update_job-to-raise-with-job-id.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=22
2019-03-19 14:32:31 +00:00
Tomáš Chvátal
56a530c2f8 Accepting request 670895 from home:alarrosa:branches:devel:languages:python
- update to 3.5.3
  * Fixed regression introduced in 3.5.2: Class methods were mistaken
    for instance methods and thus were broken during serialization
  * Fixed callable name detection for methods in old style classes
- update to 3.5.2
  * Fixed scheduling of bound methods on persistent job stores (the
    workaround of scheduling YourClass.methodname along with an
    explicit self argument is no longer necessary as this is now done
    automatically for you)
  * Added the FAQ section to the docs
  * Made BaseScheduler.start() raise a RuntimeError if running under
    uWSGI with threads disabled
- Add fix-tests.patch to fix tests that fail with python 3.7
- Add 0001-Correct-update_job-to-raise-with-job-id.patch from upstream
  to fix a wrong variable being used.

OBS-URL: https://build.opensuse.org/request/show/670895
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=20
2019-02-03 18:46:54 +00:00
Tomáš Chvátal
83556f111c - 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
2018-10-18 08:02:45 +00:00
Tomáš Chvátal
c918d57a2a 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
2018-10-18 07:34:56 +00:00
503bebbc62 Accepting request 546265 from home:seanmarlow:branches:devel:languages:python
Fix six version requirement. >= 1.4.0.
Futures is only required for python2.

OBS-URL: https://build.opensuse.org/request/show/546265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=15
2017-11-28 17:07:26 +00:00
f92bccaa66 Accepting request 522145 from home:seanmarlow:branches:devel:languages:python
Fix package, Funcsigs is only required for Python2.

OBS-URL: https://build.opensuse.org/request/show/522145
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=13
2017-09-08 13:24:10 +00:00
Thomas Bechtold
2a12957487 Accepting request 519194 from home:bear454:branches:devel:languages:python
- Clarify requirement of 'tzlocal' dependency

OBS-URL: https://build.opensuse.org/request/show/519194
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=12
2017-08-29 12:05:06 +00:00
Thomas Bechtold
b1877b6ce2 Accepting request 509743 from home:jengelh:branches:devel:languages:python
- Ensure neutrality of description, and remove unspecific mention
  of Quartz' features.

OBS-URL: https://build.opensuse.org/request/show/509743
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=11
2017-07-12 13:27:30 +00:00
414fe673e8 Accepting request 509674 from home:tbechtold:branches:devel:languages:python
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

OBS-URL: https://build.opensuse.org/request/show/509674
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=10
2017-07-12 09:18:44 +00:00
Thomas Bechtold
7f38f0cd16 Accepting request 509661 from home:sax2:branches:devel:languages:python
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/509661
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=9
2017-07-12 09:10:41 +00:00
0453f8c467 Accepting request 293863 from home:rjschwei:branches:devel:languages:python
- Update to version 3.0.2
  + Add new upstream dependencies:
    ~ python-futures
    ~ python-pytz
    ~ python-six
    ~ python-tzlocal
  + Contains incompatible changes to previous version
  + Fixed ValueError when the target callable has a default keyword
    argument that wasn’t overridden
  + Fixed wrong job sort order in some job stores
  + Fixed exception when loading all jobs from the redis job store when
    there are paused jobs in it
  + Fixed AttributeError when printing a job list when there were pending jobs
  + Added setuptools as an explicit requirement in install requirements
  + A wider variety of target callables can now be scheduled so that the
    jobs are still serializable (static methods on Python 3.3+, unbound
    methods on all except Python 3.2)
  + Attempting to serialize a non-serializable Job now raises a helpful
    exception during serialization. Thanks to Jeremy Morgan for pointing
    this out.
  + Fixed table creation with SQLAlchemyJobStore on MySQL/InnoDB
  + Fixed start date getting set too far in the future with a timezone
    different from the local one
  + Fixed _run_job_error() being called with the incorrect number of
    arguments in most executors
  + Added support for timezones (special thanks to Curtis Vogt for help
    with this one)
  + Split the old Scheduler class into BlockingScheduler and
    BackgroundScheduler and added integration for asyncio (PEP 3156), Gevent,
    Tornado, Twisted and Qt event loops

OBS-URL: https://build.opensuse.org/request/show/293863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=6
2015-04-02 07:51:38 +00:00
Denisart Benjamin
d2c70240d8 Accepting request 220458 from home:posophe:branches:devel:languages:python
Update

OBS-URL: https://build.opensuse.org/request/show/220458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=5
2014-01-31 10:35:01 +00:00
Sascha Peilicke
da1e2ed797 Accepting request 200569 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/200569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=4
2013-09-26 07:51:12 +00:00
Sascha Peilicke
1d862516da - Disable failing datetime tests for now
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=3
2012-12-18 14:28:52 +00:00
Sascha Peilicke
753069b989 - Update to version 2.0.3:
+ The scheduler now closes the job store that is being removed, and all job stores on shutdown() by default
  + Added the last expression in the day field of CronTrigger (thanks rcaselli)
  + Raise a TypeError when fields with invalid names are passed to CronTrigger (thanks Christy O’Reilly)
  + Fixed the persistent.py example by shutting down the scheduler on Ctrl+C
  + Added PyPy 1.8 and CPython 3.3 to the test suite
  + Dropped PyPy 1.4 - 1.5 and CPython 3.1 from the test suite
  + Updated setup.cfg for compatibility with distutils2/packaging
  + Examples, documentation sources and unit tests are now packaged in the source distribution

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=2
2012-06-22 12:24:25 +00:00
Sascha Peilicke
5e142eeee5 Accepting request 79011 from home:babelworx:python
Advanced Python Scheduler (APScheduler) is a light but powerful in-process task scheduler that lets you schedule jobs.

Packaged with py2pack. Added README.rst to %doc

OBS-URL: https://build.opensuse.org/request/show/79011
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-APScheduler?expand=0&rev=1
2011-08-16 08:59:30 +00:00