Repository navigation
Allow croniter 6 and 7 - #88
Conversation
|
Thank you for the PR! E AttributeError: 'FixtureManager' object has no attribute '_arg2fixturedefs'. Did you mean: '_arg2node2fixturedefs'?Well, that's a new one. 🫠 |
|
Neat, it's not just us! pytest-dev/pytest-bdd#850 |
|
The failure comes from the |
Thanks for looking into this! If you could open a separate PR, I'd be grateful since I'm quite busy with code review. I think |
|
Opened #89 for the pytest 9.2 failure: it moves to pytest-asyncio 1.x and updates the tests that used the removed |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #88 +/- ##
==========================================
- Coverage 94.86% 94.78% -0.08%
==========================================
Files 28 28
Lines 4031 4142 +111
Branches 449 455 +6
==========================================
+ Hits 3824 3926 +102
+ Misses 188 152 -36
- Partials 19 64 +45 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Note: Before submitting this pull request, please review our contributing
guidelines.
Description
pyproject.tomlpinscroniter>=2.0.0,<6.0.0, which excludes croniter 6.x and 7.0.0 (released 2026-11-09), somode-streamingcan't be installed next to anything that needs a newer croniter.modeonly callscroniter(cron_format, start_time=now).get_next(float)inmode/utils/cron.py. The range is now>=2.0.0,<8.0.0.tests/unit/utils/test_cron.pypasses on Python 3.12 with croniter 6.0.0 and with 7.0.0.croniter 7.0 changes how a few expressions are read (for example a step starting at the field maximum, like
59/15).secs_for_nextpasses the user's expression straight through, so those expressions get croniter's new meaning; nothing inmodebuilds such expressions itself.