-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dateutil >= 2.7.1 now internally forces compliance with RFC5545 Section 3.3.10 #112
Comments
Regarding that last bit of code, I'm fairly certain that actually using the recurrence rule would have always triggered a bug, because this is only triggered if both DTSTART and UNTIL are populated and one has a time zone but the other doesn't. The change in 2.7.1 was just intended as an "eager fail". Is there an actual viable use case that this breaks? |
Oh I see, you were creating the rule and then modifying it if it failed this test. Hm... |
This is a major blocker for packaging radicale on Arch Linux and will probably also have an effect on more software using it, such as khard. Radicale introduced a hard version pinning because of this, which is completely incompatible with a rolling release concept, such as the one Arch is build upon. Would be awesome to have a fix to this, so the version pinning can be removed. |
@dvzrv |
TestIcalendar.test_recurrence fails with dateutil >= 2.7.1. icalendar.RecurringComponent.getrruleset is trying to handle special UNTIL rule cases AFTER the rule is created by dateutil. However, dateutil.rrule >= 2.7.1 now forces compliance with RFC5545 Section 3.3.10 and in some cases the rule cannot be created and raises ValueError. It is unclear what, if anything, should be done (check UNTIL BEFORE the rule is created or rely on dateutil and update tests.py). More information can be found in code comments in pull request #111
icalendar.RecurringComponent.getrruleset:
dateutil.rrule >= 2.7.1:
The text was updated successfully, but these errors were encountered: