-
Notifications
You must be signed in to change notification settings - Fork 207
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
Support icalendar v6 #1361
Comments
Failures don't only occur while running tests. "khal new -i" stops while saving with the following stacktrace:
If it takes more time to support icalendar 6.0.0, the requirement should be changed to icalendar<6.0.0 as a workaround as quickly as possible, because at the moment khal is broken for everyone who installed it via pip. |
As a short-term solution, we can pin |
The documentation for icalendar doesn't list any breaking changes on 6.0.0. I have no idea what APIs changed and how to fix them; we're going to need to ask upstream. |
With the following dependencies:
|
See: #1362 |
My bad; the changes are described in the README, as linked by op above: https://github.com/collective/icalendar/blob/main/README.rst#version-6-with-zoneinfo The |
Never mind, we don't need to special-case this in any way; |
I don't know if this is related, but I am getting some errors on the stack showing zoneinfo errors. Using khal, version 0.11.3 installed with pipx. I can't see any of my recurring .ical items, either daily or weekly. When i can
Similarly, I can't create anything with time on datetime range.
The same thing happens with
I can only create new entries if no time part of the date is provided. How can I help debug this? |
For timezone functionalities icalendar can use both pytz and zoneinfo, preferring zoneinfo. We rely on pytz for several attributes, stick to it. Fixes pimutils#1361. Should obsolete pimutils#1363.
For timezone functionalities icalendar can use both pytz and zoneinfo, preferring zoneinfo. We rely on pytz for several attributes, stick to it. Fixes pimutils#1361. Should obsolete pimutils#1363.
For timezone functionalities icalendar can use both pytz and zoneinfo, preferring zoneinfo. We rely on pytz for several attributes, stick to it. Fixes pimutils#1361. Should obsolete pimutils#1363.
I have shared a possible patch to address that via #1364. Now all tests passes for me with |
Describe the bug
Icalendar v6 was released: https://github.com/collective/icalendar/blob/main/README.rst#version-6-with-zoneinfo
Now running pytest yields test failures.
If applicable: Stack Trace
To Reproduce
Install icalendar v6 and run pytest.
OS, version, khal version and how you installed it:
The text was updated successfully, but these errors were encountered: