15
0

- update to 1.0.13:

* 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
This commit is contained in:
2021-06-17 20:57:20 +00:00
committed by Git OBS Bridge
parent 282d15cf85
commit 237e4a3f64
4 changed files with 17 additions and 6 deletions

View File

@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-croniter
Version: 1.0.9
Version: 1.0.13
Release: 0
Summary: Python iterators for datetime objects with cron-like format
License: MIT
URL: http://github.com/kiorky/croniter
Source: https://files.pythonhosted.org/packages/source/c/croniter/croniter-%{version}.tar.gz
BuildRequires: %{python_module future}
BuildRequires: %{python_module natsort}
BuildRequires: %{python_module pytest >= 3.0.3}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module pytz}
@@ -34,7 +33,6 @@ BuildRequires: %{python_module tzlocal}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-natsort
Requires: python-python-dateutil
BuildArch: noarch
%python_subpackages