* Make a retrocompatible version of 1.4.0 change about supporting
VIXIECRON bug.
* Added "implement_cron_bug" flag to make the cron parser compatible
with a bug in Vixie/ISC Cron.
- Switch to pyproject macros.
- Actually drop future requirement.
- Stop using greedy globs in %files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=49
- Update to v1.3.7:
* fix tests
* Fix croniter_range infinite loop [Shachar Snapiri <ssnapiri@paloaltonetworks.com>]
- Update to v1.3.5:
* Add Python 3.10 support [eelkevdbos]
- Update to v1.3.4:
* Really fix compat for tests under py27 [kiorky]
- Update to v1.3.3:
* Fix compat for tests under py27 [kiorky]
- Update to v1.3.2:
* Fix#12: regressions with set_current [kiorky, agateblue]
- Update to v1.3.1:
* Restore compat with python2 [kiorky]
- Update to v1.3.0:
* Add a way to make next() easier to use. This fixes#11 [kiorky]
OBS-URL: https://build.opensuse.org/request/show/1006437
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=39
* Fix ZeroDivisionError with ``* * R/0 * *``
* Add support for hashed/random/keyword expressions
* Review support support for hashed/random/keyword expression and add expanders reactor
* fix bug: bad case:``0 6 30 3 *``
* Create ``CroniterUnsupportedSyntaxError`` exception for situations where CRON syntax may be valid but some combinations of features is not supported.
This *may* impact existing cron expressions in prior releases, because ``0 0 * * 15,sat#1`` was previously allowed but incorrectly handled.
* Update ``croniter_range()`` to allow an alternate ``croniter`` class to be used. Helpful when using a custom class derived from croniter.
* Remove external library ``natsort``.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=34
* 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
- 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
* 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
- 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