[meta-python,4/7] python3-croniter: Upgrade 0.3.34 -> 0.3.35

Submitted by Leon Anavi on Oct. 13, 2020, 8:59 a.m. | Patch ID: 177173

Details

Message ID 20201013085914.31580-4-leon.anavi@konsulko.com
State Accepted
Commit 84e9bdad046347d049d246c4190102bf7f40fcf0
Headers show

Commit Message

Leon Anavi Oct. 13, 2020, 8:59 a.m.
Upgrade to release 0.3.35:

- Handle L in ranges.
- Add a new initializaton paramter 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.
- 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 breif 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 tollernace 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.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...{python3-croniter_0.3.34.bb => python3-croniter_0.3.35.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-croniter_0.3.34.bb => python3-croniter_0.3.35.bb} (68%)

Patch hide | download patch | download mbox

diff --git a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb b/meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb
rename to meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
index 123d176137..388885c158 100644
--- a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb
+++ b/meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
@@ -4,8 +4,8 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
 
 PYPI_PACKAGE = "croniter"
-SRC_URI[md5sum] = "adfeeb0032ab7aeccba908fa2eb09c33"
-SRC_URI[sha256sum] = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b14967e964"
+SRC_URI[md5sum] = "8bb1443b90123f96ad64d7fae26df342"
+SRC_URI[sha256sum] = "b9075573d9d18fdc4c67ad6741c4bfa4b446b1b1d7f03279757244c8a75abedf"
 
 inherit pypi setuptools3
 

Comments

Trevor Gamblin Oct. 16, 2020, 5:13 p.m.
On 10/13/20 4:59 AM, Leon Anavi wrote:
> - Handle L in ranges.
> - Add a new initializaton paramter 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.
> - 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 breif 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 tollernace 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.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...{python3-croniter_0.3.34.bb => python3-croniter_0.3.35.bb} | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>   rename meta-python/recipes-devtools/python/{python3-croniter_0.3.34.bb => python3-croniter_0.3.35.bb} (68%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb b/meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
> similarity index 68%
> rename from meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb
> rename to meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
> index 123d176137..388885c158 100644
> --- a/meta-python/recipes-devtools/python/python3-croniter_0.3.34.bb
> +++ b/meta-python/recipes-devtools/python/python3-croniter_0.3.35.bb
> @@ -4,8 +4,8 @@ LICENSE = "MIT"
>   LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
>   
>   PYPI_PACKAGE = "croniter"
> -SRC_URI[md5sum] = "adfeeb0032ab7aeccba908fa2eb09c33"
> -SRC_URI[sha256sum] = "7186b9b464f45cf3d3c83a18bc2344cc101d7b9fd35a05f2878437b14967e964"
> +SRC_URI[md5sum] = "8bb1443b90123f96ad64d7fae26df342"
> +SRC_URI[sha256sum] = "b9075573d9d18fdc4c67ad6741c4bfa4b446b1b1d7f03279757244c8a75abedf"
>   
>   inherit pypi setuptools3
>   
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#87561): https://lists.openembedded.org/g/openembedded-devel/message/87561
Mute This Topic: https://lists.openembedded.org/mt/77479355/3617530
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-