17
0

Commit Graph

  • c1e0dbd52d Accepting request 1288264 from devel:languages:python factory Ana Guerrero 2025-06-24 18:50:46 +00:00
  • 692e37caaf Accepting request 1288264 from devel:languages:python leap-16.1 leap-16.0 Ana Guerrero 2025-06-24 18:50:46 +00:00
  • 10108f4347 Accepting request 1288248 from home:fstegmeier:branches:devel:languages:python Markéta Machová 2025-06-24 13:03:34 +00:00
  • 260ce1d9c7 - Update to 6.0.0 * Announce for now that croniter dev is ended (CRA). * Rework timestamp_to_datetime to use whatever timezone [kiorky] * Make datetime_to_timestamp & timestamp_to_datetime public [kiorky] * Fix EPOCH calculation in case of non UTC & 32 bits based systems [kiorky] * Apply isort formatter [kiorky] * Reintegrate test_speed [kiorky] * Apply black formatter [evanpurkhiser, kiorky] * Code quality changes [evanpurkhiser, kiorky] * Remove unused _get_caller_globals_and_locals [evanpurkhiser] * Remove single-use bad_length [evanpurkhiser] * Remove unused days in proc_month [evanpurkhiser] * Use field_index over i for readability [evanpurkhiser] * Always use """ for docstrings [evanpurkhiser] * Make helper instance methods that do not use self static [evanpurkhiser] * Remove unusd call to sys.exc_info [evanpurkhiser] * Remove unused ALPHAS [evanpurkhiser] * Improve croniter.expand documentation [evanpurkhiser] Markéta Machová 2025-06-24 13:03:34 +00:00
  • 905a7c4ed5 Accepting request 1225104 from devel:languages:python Ana Guerrero 2024-11-19 21:23:46 +00:00
  • 01ae0d4045 Accepting request 1225104 from devel:languages:python Ana Guerrero 2024-11-19 21:23:46 +00:00
  • 056a62c775 - update to 5.0.1: * Community wanted: Reintroduce 7 as DayOfWeek in deviation from standard cron (#90). [kiorky] * Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard cron (#90). [kiorky] * Fix DOW ranges calculations when lastday is a Sunday. [kiorky] Dirk Mueller 2024-11-19 12:51:51 +00:00
  • b486e2036f - update to 5.0.1: * Community wanted: Reintroduce 7 as DayOfWeek in deviation from standard cron (#90). [kiorky] * Remove DayOfWeek alias 7 to DayOfWeek 0 to stick to standard cron (#90). [kiorky] * Fix DOW ranges calculations when lastday is a Sunday. [kiorky] Dirk Mueller 2024-11-19 12:51:51 +00:00
  • 2b39743aae Accepting request 1218792 from devel:languages:python Ana Guerrero 2024-10-28 14:22:59 +00:00
  • 33331ea0e9 Accepting request 1218792 from devel:languages:python Ana Guerrero 2024-10-28 14:22:59 +00:00
  • 0d60bdfd9f - update to 3.0.4: * Fix overflow on 32bits systems (#87) [kiorky] * Fix python2 testing (related to #93) [kiorky] * Modernize packaging. Special thanks to Aarni Koskela (akx) for all the inputs. [kiorky, akx] Dirk Mueller 2024-10-28 11:35:13 +00:00
  • eb3af4fa5f - update to 3.0.4: * Fix overflow on 32bits systems (#87) [kiorky] * Fix python2 testing (related to #93) [kiorky] * Modernize packaging. Special thanks to Aarni Koskela (akx) for all the inputs. [kiorky, akx] Dirk Mueller 2024-10-28 11:35:13 +00:00
  • c1c6ff463f Accepting request 1206441 from devel:languages:python Ana Guerrero 2024-10-09 20:13:00 +00:00
  • 060a0f319a Accepting request 1206441 from devel:languages:python Ana Guerrero 2024-10-09 20:13:00 +00:00
  • 326711c2b1 - update to 3.0.3: * Fix start_time not respected in get_next/get_prev/all_next/all_prev (#86) [hesstobi, kiorky] * Add an update_current argument to get_next/get_prev/all_next/all_prev to facilitate writing of some downstream code, see #83. [kiorky] * Support for year field [zhouyizhen, kiorky] * Better support for 6 fields (second), and 7 fields crons [zhouyizhen, kiorky] * Better fix hashed expressions omitting some entries (#82, #42, #30) fix is retained over #42 initial fix [zhouyizhen, kiorky] * Ensure match return false when not time available (#81) Dirk Mueller 2024-10-09 06:36:28 +00:00
  • 7ac8e81369 - update to 3.0.3: * Fix start_time not respected in get_next/get_prev/all_next/all_prev (#86) [hesstobi, kiorky] * Add an update_current argument to get_next/get_prev/all_next/all_prev to facilitate writing of some downstream code, see #83. [kiorky] * Support for year field [zhouyizhen, kiorky] * Better support for 6 fields (second), and 7 fields crons [zhouyizhen, kiorky] * Better fix hashed expressions omitting some entries (#82, #42, #30) fix is retained over #42 initial fix [zhouyizhen, kiorky] * Ensure match return false when not time available (#81) Dirk Mueller 2024-10-09 06:36:28 +00:00
  • 0601cee5e7 Accepting request 1202147 from devel:languages:python Ana Guerrero 2024-09-20 15:12:21 +00:00
  • 829e3c10a4 Accepting request 1202147 from devel:languages:python Ana Guerrero 2024-09-20 15:12:21 +00:00
  • 85ca8c4874 Accepting request 1202146 from home:ojkastl_buildservice:Branch_devel_languages_python Markéta Machová 2024-09-20 09:55:03 +00:00
  • e7a8c75d49 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-croniter?expand=0&rev=59 Markéta Machová 2024-09-20 09:55:03 +00:00
  • 0f5df0751d Accepting request 1170471 from devel:languages:python Ana Guerrero 2024-04-28 19:50:02 +00:00
  • 3307fd30a3 Accepting request 1170471 from devel:languages:python Ana Guerrero 2024-04-28 19:50:02 +00:00
  • bda4cc5d14 - update to 2.0.5: * No changes, fix lint * Support hashid strings in is_valid * Avoid over-optimization in crontab expansions Dirk Mueller 2024-04-27 12:53:32 +00:00
  • df39271362 - update to 2.0.5: * No changes, fix lint * Support hashid strings in is_valid * Avoid over-optimization in crontab expansions Dirk Mueller 2024-04-27 12:53:32 +00:00
  • 012d731ed4 Accepting request 1165866 from devel:languages:python Ana Guerrero 2024-04-07 20:11:41 +00:00
  • 5e0e5e6087 Accepting request 1165866 from devel:languages:python Ana Guerrero 2024-04-07 20:11:41 +00:00
  • b8ae8efff7 - update to 2.0.3: * Add match_range function [salitaba] Dirk Mueller 2024-04-06 18:55:49 +00:00
  • 427bfb435b - update to 2.0.3: * Add match_range function [salitaba] Dirk Mueller 2024-04-06 18:55:49 +00:00
  • 8b10491765 Accepting request 1158957 from devel:languages:python Ana Guerrero 2024-03-18 15:47:09 +00:00
  • 0d1f75655d Accepting request 1158957 from devel:languages:python Ana Guerrero 2024-03-18 15:47:09 +00:00
  • 67f1f8d12d - update to 2.0.2: * fix leap year (29 days in February) [zed2015] Dirk Mueller 2024-03-18 10:45:20 +00:00
  • c31d78df9d - update to 2.0.2: * fix leap year (29 days in February) [zed2015] Dirk Mueller 2024-03-18 10:45:20 +00:00
  • a14292a846 Accepting request 1128731 from devel:languages:python Ana Guerrero 2023-11-26 18:36:58 +00:00
  • a48bba1543 Accepting request 1128731 from devel:languages:python Ana Guerrero 2023-11-26 18:36:58 +00:00
  • 4e08ac5bd9 - update to 2.0.1: * Fix release issue * Add Python 3.12 support * Make major release instructions * Add a way to make next() easier to use. This fixes #11 [kiorky] now raises a CroniterBadDateError. Dirk Mueller 2023-11-25 13:08:31 +00:00
  • d4f45d63b8 - update to 2.0.1: * Fix release issue * Add Python 3.12 support * Make major release instructions * Add a way to make next() easier to use. This fixes #11 [kiorky] now raises a CroniterBadDateError. Dirk Mueller 2023-11-25 13:08:31 +00:00
  • 6cc66472b8 Accepting request 1108278 from devel:languages:python Ana Guerrero 2023-09-01 12:19:24 +00:00
  • d9f2935ff4 Accepting request 1108278 from devel:languages:python Ana Guerrero 2023-09-01 12:19:24 +00:00
  • ed6f74b66b - Update to 1.4.1: * 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. Steve Kowalik 2023-08-31 12:04:48 +00:00
  • 4baf862b53 - Update to 1.4.1: * 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. Steve Kowalik 2023-08-31 12:04:48 +00:00
  • ec15e6248f Accepting request 1095394 from devel:languages:python Dominique Leuenberger 2023-06-26 16:16:39 +00:00
  • 87bfe289d8 Accepting request 1095394 from devel:languages:python Dominique Leuenberger 2023-06-26 16:16:39 +00:00
  • 1c213f90f0 Accepting request 1095332 from devel:languages:python:mailman:backports Markéta Machová 2023-06-26 10:21:15 +00:00
  • 2017007a32 Accepting request 1095332 from devel:languages:python:mailman:backports Markéta Machová 2023-06-26 10:21:15 +00:00
  • bf65ca6d9b Accepting request 1089607 from devel:languages:python Dominique Leuenberger 2023-05-29 20:48:08 +00:00
  • 9c34805ed3 Accepting request 1089607 from devel:languages:python Dominique Leuenberger 2023-05-29 20:48:08 +00:00
  • 71212ad0e4 - update to 1.3.15: * Fix hashed expressions omitting some entries * Enhance .match() precision for 6 position expressions Dirk Mueller 2023-05-29 16:03:03 +00:00
  • 62459faa61 - update to 1.3.15: * Fix hashed expressions omitting some entries * Enhance .match() precision for 6 position expressions Dirk Mueller 2023-05-29 16:03:03 +00:00
  • e66b3d252d Accepting request 1084215 from devel:languages:python Dominique Leuenberger 2023-05-03 10:57:50 +00:00
  • 3775af4fad Accepting request 1084215 from devel:languages:python Dominique Leuenberger 2023-05-03 10:57:50 +00:00
  • 79d50a35b8 - update to 1.3.14: * Add check for range begin/end * restore py2 compat * Do not expose i into global namespace * Fix DOW hash parsing [kiorky] * better error handling on py3 [kiorky] * Add Python 3.11 support and move docs files to main folder Dirk Mueller 2023-05-03 08:44:58 +00:00
  • f7cf2d3ae5 - update to 1.3.14: * Add check for range begin/end * restore py2 compat * Do not expose i into global namespace * Fix DOW hash parsing [kiorky] * better error handling on py3 [kiorky] * Add Python 3.11 support and move docs files to main folder Dirk Mueller 2023-05-03 08:44:58 +00:00
  • 88a70bb35e Accepting request 1010394 from devel:languages:python Dominique Leuenberger 2022-10-14 13:41:32 +00:00
  • f601cf1cd3 Accepting request 1010394 from devel:languages:python Dominique Leuenberger 2022-10-14 13:41:32 +00:00
  • 364d91ce7f - use https for urls Dirk Mueller 2022-10-13 07:16:04 +00:00
  • 97a33e6c8c - use https for urls Dirk Mueller 2022-10-13 07:16:04 +00:00
  • 513e9ffe51 Accepting request 1006466 from devel:languages:python Richard Brown 2022-09-27 18:16:11 +00:00
  • 659d2037dd Accepting request 1006466 from devel:languages:python Richard Brown 2022-09-27 18:16:11 +00:00
  • 4c4b4c416f Accepting request 1006437 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-09-27 16:26:16 +00:00
  • 1fdcbd8f0d Accepting request 1006437 from home:yarunachalam:branches:devel:languages:python Markéta Machová 2022-09-27 16:26:16 +00:00
  • f2b58b3b07 Accepting request 946664 from devel:languages:python Dominique Leuenberger 2022-01-15 19:05:22 +00:00
  • 860717c1be Accepting request 946664 from devel:languages:python Dominique Leuenberger 2022-01-15 19:05:22 +00:00
  • a4fa65c989 - update to 1.2.0: * Enforce validation for day=1. Before this release we used to support day=0 and it was silently glided to day=1 to support having both day in day in 4th field when it came to have 6fields cron forms (second repeat). It will now raises a CroniterBadDateError. Dirk Mueller 2022-01-15 16:23:52 +00:00
  • 77ee2a7356 - update to 1.2.0: * Enforce validation for day=1. Before this release we used to support day=0 and it was silently glided to day=1 to support having both day in day in 4th field when it came to have 6fields cron forms (second repeat). It will now raises a CroniterBadDateError. Dirk Mueller 2022-01-15 16:23:52 +00:00
  • 75e7e2193e Accepting request 936119 from devel:languages:python Dominique Leuenberger 2021-12-06 23:00:32 +00:00
  • 19c728249c Accepting request 936119 from devel:languages:python Dominique Leuenberger 2021-12-06 23:00:32 +00:00
  • 0528940f02 - update to 1.1.0: * Enforce validation for month=1. Before this release we used to support month=0 and it was silently glided to month=1 to support having both day in month in 4th field when it came to have 6fields cron forms Dirk Mueller 2021-12-06 20:12:02 +00:00
  • 1c597e69bb - update to 1.1.0: * Enforce validation for month=1. Before this release we used to support month=0 and it was silently glided to month=1 to support having both day in month in 4th field when it came to have 6fields cron forms Dirk Mueller 2021-12-06 20:12:02 +00:00
  • e40b576bf6 Accepting request 925755 from devel:languages:python Dominique Leuenberger 2021-10-18 19:59:06 +00:00
  • 959f9635a6 Accepting request 925755 from devel:languages:python Dominique Leuenberger 2021-10-18 19:59:06 +00:00
  • 0fdd5d2912 - update to 1.0.15: * restore py2 * better type checks Dirk Mueller 2021-10-16 21:07:41 +00:00
  • 0123f4fb6b - update to 1.0.15: * restore py2 * better type checks Dirk Mueller 2021-10-16 21:07:41 +00:00
  • 576972df2d Accepting request 900659 from devel:languages:python Dominique Leuenberger 2021-06-19 21:03:05 +00:00
  • 1e6ad36756 Accepting request 900659 from devel:languages:python Dominique Leuenberger 2021-06-19 21:03:05 +00:00
  • 89632088b6 - 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`. Dirk Mueller 2021-06-17 20:57:20 +00:00
  • 237e4a3f64 - 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`. Dirk Mueller 2021-06-17 20:57:20 +00:00
  • 5d7ca2dd80 Accepting request 881276 from devel:languages:python Richard Brown 2021-03-25 13:52:45 +00:00
  • def71bcc66 Accepting request 881276 from devel:languages:python Richard Brown 2021-03-25 13:52:45 +00:00
  • 8b62756b1f Accepting request 881210 from home:1Antoine1:branches:devel:languages:python Matej Cepl 2021-03-25 07:56:35 +00:00
  • 282d15cf85 Accepting request 881210 from home:1Antoine1:branches:devel:languages:python Matej Cepl 2021-03-25 07:56:35 +00:00
  • 031b634e84 Accepting request 878436 from devel:languages:python Dominique Leuenberger 2021-03-12 12:33:27 +00:00
  • dc98521b78 Accepting request 878436 from devel:languages:python Dominique Leuenberger 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 Steve Kowalik 2021-03-12 03:44:05 +00:00
  • ef0dad86ba - 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 Steve Kowalik 2021-03-12 03:44:05 +00:00
  • c2ff22b0d3 Accepting request 850942 from devel:languages:python Dominique Leuenberger 2020-11-26 22:15:17 +00:00
  • f058199f87 Accepting request 850942 from devel:languages:python Dominique Leuenberger 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 Dirk Mueller 2020-11-26 09:23:36 +00:00
  • e894a87b1e - 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 Dirk Mueller 2020-11-26 09:23:36 +00:00
  • 277a8e8ecb Accepting request 821436 from devel:languages:python Dominique Leuenberger 2020-07-17 18:51:04 +00:00
  • f3d697ed4c Accepting request 821436 from devel:languages:python Dominique Leuenberger 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 Dirk Mueller 2020-07-17 07:25:35 +00:00
  • d41561bf31 - 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 Dirk Mueller 2020-07-17 07:25:35 +00:00
  • e0e48d2440 Accepting request 812619 from devel:languages:python Dominique Leuenberger 2020-06-09 22:47:20 +00:00
  • 40af553be4 Accepting request 812619 from devel:languages:python Dominique Leuenberger 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 Dirk Mueller 2020-06-08 13:32:49 +00:00
  • d2a7627e3a - 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 Dirk Mueller 2020-06-08 13:32:49 +00:00
  • fd17ac4d16 Accepting request 785068 from devel:languages:python Dominique Leuenberger 2020-03-16 09:18:33 +00:00
  • cac489a075 Accepting request 785068 from devel:languages:python Dominique Leuenberger 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 Dirk Mueller 2020-03-14 15:48:12 +00:00
  • 597b0a7de0 - update to 0.3.31: - Fix get_next() when start_time less then 1s before next instant Dirk Mueller 2020-03-14 15:48:12 +00:00