Skip to content

build(deps): bump cron-converter from 1.3.1 to 2.0.1 - #162

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cron-converter-2.0.1
Open

build(deps): bump cron-converter from 1.3.1 to 2.0.1#162
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/cron-converter-2.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps cron-converter from 1.3.1 to 2.0.1.

Release notes

Sourced from cron-converter's releases.

v2.0.1

Summary

Fix importing results in an error ModuleNotFoundError: No module named 'cron_converter.sub_modules', when using cron-converter in certain environments like AWS Glue.

Pin setuptools package discovery.

v2.0.0

Summary

Makes Seeker.next() exclusive by default. This is a breaking change and the reason for the bump to 2.0.0.

The release also fixes a reset() bug, removes a long-standing fragility in the test harness, and extends the CI matrix to Python 3.13 and 3.14.

Breaking change: next() is now exclusive

next() now always returns a datetime strictly after the start date, or after the value returned by the previous call. Previously, when the start date fell exactly on a scheduled minute, the first call returned that same minute.

Expression Start date 1.3.1 2.0.0
*/15 * * * * 2021-01-01 10:00 2021-01-01 10:00 2021-01-01 10:15
0 12 * * * 2021-01-01 12:00 2021-01-01 12:00 2021-01-02 12:00
0 0 1 * * 2021-01-01 00:00 2021-01-01 00:00 2021-02-01 00:00

The shift is one full cron period, so a daily schedule moves by a day and a monthly schedule by a month. Only the first call on a new or freshly reset() schedule is affected, and only when the start date lands exactly on a matching minute — a start date carrying seconds or microseconds was never "exactly on" a minute and is unchanged.

Migration

A new inclusive parameter restores the 1.x result on the first call:

schedule = Cron('0 12 * * *').schedule(datetime(2021, 1, 1, 12, 0))
schedule.next(inclusive=True)   # 2021-01-01T12:00:00 - as in 1.x
schedule.next()                 # 2021-01-02T12:00:00

inclusive affects only the first call on a pristine Seeker; later calls are always exclusive. It is not reachable through the iterator protocol (next(schedule), islice(schedule, n)), which is always exclusive.

Fix: reset() no longer rewinds into the past

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cron-converter](https://github.com/Sonic0/cron-converter) from 1.3.1 to 2.0.1.
- [Release notes](https://github.com/Sonic0/cron-converter/releases)
- [Commits](Sonic0/cron-converter@v1.3.1...v2.0.1)

---
updated-dependencies:
- dependency-name: cron-converter
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants