17
0
Commit Graph

31 Commits

Author SHA256 Message Date
031b634e84 Accepting request 878436 from devel:languages:python
- Update to 1.0.8:
  * Update `_expand` to lowercase each component of the expression.
  * Fix _expand to reject int literals with underscores
  * Fix combination of star and invalid expression bugs
  * Security fix: fix overflow when using cron ranges
  * Fix #155: raise CroniterBadCronError when error syntax
  * Fix match when datetime has microseconds
  * Added Python 3.8 and 3.9 support

OBS-URL: https://build.opensuse.org/request/show/878436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=15
2021-03-12 12:33:27 +00:00
11e9b57d43 - Update to 1.0.8:
* Update `_expand` to lowercase each component of the expression.
  * Fix _expand to reject int literals with underscores
  * Fix combination of star and invalid expression bugs
  * Security fix: fix overflow when using cron ranges
  * Fix #155: raise CroniterBadCronError when error syntax
  * Fix match when datetime has microseconds
  * Added Python 3.8 and 3.9 support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=30
2021-03-12 03:44:05 +00:00
c2ff22b0d3 Accepting request 850942 from devel:languages:python
- update to 0.3.36:
- Updated docs section regarding ``max_years_between_matches`` to be more shorter and hopefully more relevant.
- Add a new initialization parameter ``max_years_between_matches`` to support finding the next/previous date beyond the default 1 year window, if so desired.  Updated README to include additional notes and example of this usage.  Fixes #145.
- The ``croniter_range()`` function was updated to automatically determines the appropriate ``max_years_between_matches`` value, this preventing handling of the ``CroniterBadDateError`` exception.
- Updated exception handling classes:  ``CroniterBadDateError`` now only
  applies during date finding operations (next/prev), and all parsing errors can now be caught using ``CroniterBadCronError``.  The ``CroniterNotAlphaError`` exception is now a subclass of ``CroniterBadCronError``.  A brief description of each exception class was added as an inline docstring.
- Updated iterable interfaces to replace the ``CroniterBadDateError`` with ``StopIteration`` if (and only if) the ``max_years_between_matches`` argument is provided.  The rationale here is that if the user has specified the max tolerance between matches, then there's no need to further inform them of no additional matches.  Just stop the iteration.  This also keeps backwards compatibility.
- Minor docs update

OBS-URL: https://build.opensuse.org/request/show/850942
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=14
2020-11-26 22:15:17 +00:00
9d9773190e - update to 0.3.36:
- Updated docs section regarding ``max_years_between_matches`` to be more shorter and hopefully more relevant.
- Add a new initialization parameter ``max_years_between_matches`` to support finding the next/previous date beyond the default 1 year window, if so desired.  Updated README to include additional notes and example of this usage.  Fixes #145.
- The ``croniter_range()`` function was updated to automatically determines the appropriate ``max_years_between_matches`` value, this preventing handling of the ``CroniterBadDateError`` exception.
- Updated exception handling classes:  ``CroniterBadDateError`` now only
  applies during date finding operations (next/prev), and all parsing errors can now be caught using ``CroniterBadCronError``.  The ``CroniterNotAlphaError`` exception is now a subclass of ``CroniterBadCronError``.  A brief description of each exception class was added as an inline docstring.
- Updated iterable interfaces to replace the ``CroniterBadDateError`` with ``StopIteration`` if (and only if) the ``max_years_between_matches`` argument is provided.  The rationale here is that if the user has specified the max tolerance between matches, then there's no need to further inform them of no additional matches.  Just stop the iteration.  This also keeps backwards compatibility.
- Minor docs update

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=28
2020-11-26 09:23:36 +00:00
277a8e8ecb Accepting request 821436 from devel:languages:python
- update to 0.3.34:
  - Feat croniter_range(start, stop, cron)
  - Optimization for poorly written cron expression
  - Make dateutil tz support more official
  - Feat/support for day or

OBS-URL: https://build.opensuse.org/request/show/821436
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=13
2020-07-17 18:51:04 +00:00
d661469cdb - update to 0.3.34:
- Feat croniter_range(start, stop, cron)
  - Optimization for poorly written cron expression
  - Make dateutil tz support more official
  - Feat/support for day or

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=26
2020-07-17 07:25:35 +00:00
e0e48d2440 Accepting request 812619 from devel:languages:python
- update to 0.3.32:
  - document seconds repeats, fixes #122
  - Implement match method, fixes #54
  - Adding tests for #127 (test more DSTs and croniter behavior around)
  - Changed lag_hours comparison to absolute to manage dst boundary when getting previous

OBS-URL: https://build.opensuse.org/request/show/812619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=12
2020-06-09 22:47:20 +00:00
8f2278c69e - update to 0.3.32:
- document seconds repeats, fixes #122
  - Implement match method, fixes #54
  - Adding tests for #127 (test more DSTs and croniter behavior around)
  - Changed lag_hours comparison to absolute to manage dst boundary when getting previous

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=24
2020-06-08 13:32:49 +00:00
fd17ac4d16 Accepting request 785068 from devel:languages:python
- update to 0.3.31:
  - Fix get_next() when start_time less then 1s before next instant

OBS-URL: https://build.opensuse.org/request/show/785068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=11
2020-03-16 09:18:33 +00:00
39390eafce - update to 0.3.31:
- Fix get_next() when start_time less then 1s before next instant

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=22
2020-03-14 15:48:12 +00:00
f348f84de3 Accepting request 704955 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/704955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=10
2019-05-24 09:31:52 +00:00
Tomáš Chvátal
9b727481ae Accepting request 704920 from home:pgajdos
- version update to 0.3.30
  * credits
  * history stripping (security)
  * Handle -Sun notation
  * Handle invalid ranges correctly

OBS-URL: https://build.opensuse.org/request/show/704920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=20
2019-05-23 09:14:12 +00:00
552c565f40 Accepting request 688728 from devel:languages:python
- Update to 0.3.28:
  * Update credits

OBS-URL: https://build.opensuse.org/request/show/688728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=9
2019-03-28 21:48:23 +00:00
Tomáš Chvátal
aa4fadb63a - Update to 0.3.28:
* Update credits

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=18
2019-03-26 13:36:13 +00:00
Stephan Kulow
abb643e8c4 Accepting request 682472 from devel:languages:python
- Update to 0.3.27:
  * Handle -Sun notation
  * Handle invalid ranges correctly
  * Pypi hygiene
  * fix get_next while perserving the fix of get_prev
  * Don't count previous minute if now is dynamic If the code is triggered from 5-asterisk based cron get_prev based on datetime.now() is expected to return current cron iteration and not previous execution.

OBS-URL: https://build.opensuse.org/request/show/682472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=8
2019-03-10 08:35:35 +00:00
Tomáš Chvátal
a66d272b5c - Update to 0.3.27:
* Handle -Sun notation
  * Handle invalid ranges correctly
  * Pypi hygiene
  * fix get_next while perserving the fix of get_prev
  * Don't count previous minute if now is dynamic If the code is triggered from 5-asterisk based cron get_prev based on datetime.now() is expected to return current cron iteration and not previous execution.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=16
2019-03-07 13:51:11 +00:00
3bf950eb49 Accepting request 642790 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/642790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=7
2018-10-18 13:39:05 +00:00
Tomáš Chvátal
dddbb52a57 Accepting request 642702 from home:jengelh:branches:devel:languages:python
- Avoid name repetition in summary.

OBS-URL: https://build.opensuse.org/request/show/642702
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=14
2018-10-18 07:27:08 +00:00
ef9dfa4bec Accepting request 642660 from home:sjamgade:branches:devel:languages:python
- update to 0.3.20
  - (tag: 0.3.20) Preparing release 0.3.20
  -  pep8
  -  Fix sao paulo timezone test.
  -  remove outdated comment
  -  correctly handle DST changes
  -  Merge pull request #89 from kiorky/master
  -  Back to development: 0.3.20
  -  (tag: 0.3.19) Preparing release 0.3.19
  -  fix #87: backward dst changes
  -  Merge pull request #88 from kiorky/master
  -  Back to development: 0.3.19
  -  (tag: 0.3.18) Preparing release 0.3.18
  -  Merge pull request #18 from taichino/master
  -  Merge pull request #86 from otherpirate/master
  -  Adding is_valid class method to readme
  -  Adding class method is_valid to validate cron syntax
  -  Creating base croniter error
  -  Merge pull request #85 from kiorky/master
  -  Back to development: 0.3.18

OBS-URL: https://build.opensuse.org/request/show/642660
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=13
2018-10-17 16:23:50 +00:00
e417c87ec3 Accepting request 518656 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/518656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=6
2017-08-28 13:15:57 +00:00
fdaab6907f Accepting request 518655 from home:tbechtold:branches:devel:languages:python
- update to 0.3.17:
  - DOW occurence sharp style support.
  - Better test suite
  - DST support
  - fix bug around multiple conditions and range_val in
    _get_prev_nearest_diff.
  - issue #69: added day_or option to change behavior when day-of-month and
    day-of-week is given
  - `Real fix for #34
  - `Modernize test infra
  - `Release as a universal wheel
  - `Raise ValueError on negative numbers
  - `Compare types using "issubclass" instead of exact match
  - `Implement step cron with a variable base
- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/518655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=11
2017-08-25 07:11:46 +00:00
2006cb6320 Accepting request 441346 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/441346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=5
2016-12-07 23:29:34 +00:00
d3304b08c6 - update to 0.3.12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=9
2016-11-15 10:24:18 +00:00
22e26127c6 Accepting request 390772 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/390772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=4
2016-04-28 14:55:08 +00:00
5da9be4216 - switch to python-python-dateutil
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=7
2016-04-13 08:15:50 +00:00
Stephan Kulow
0996b67edd Accepting request 249305 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/249305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=3
2014-09-17 15:25:21 +00:00
Jan Matejek
ca4015ea3f Accepting request 249212 from Cloud:OpenStack:Master
New upstream release

OBS-URL: https://build.opensuse.org/request/show/249212
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=5
2014-09-15 14:03:34 +00:00
Stephan Kulow
df1629026c Accepting request 225023 from devel:languages:python
new OpenStack dep

OBS-URL: https://build.opensuse.org/request/show/225023
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-croniter?expand=0&rev=1
2014-03-09 17:44:44 +00:00
Sascha Peilicke
06aba5ea9f - Package docs/LICENSE
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=3
2014-03-07 12:55:57 +00:00
Sascha Peilicke
3825188e5f - Fix requirement on python-dateutil (not python-python-dateutil as upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=2
2014-03-07 10:01:34 +00:00
Sascha Peilicke
9328bb1062 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=1
2014-03-07 08:34:53 +00:00