Commit 361773e
authored
fix: upgrade caldav for icalendar 7.x compatibility (#397)
## Summary
- Upgrade `caldav` dependency from `==1.3.6` to `>=2.2.6` to fix
incompatibility with `icalendar>=7.0.0`
- `caldav` 1.3.6 accesses `icalendar.cal.component_factory` as a dict,
but icalendar 7.x refactored it into a module, causing `TypeError:
'module' object is not subscriptable` in all calendar operations
## Test plan
- [x] Calendar tests pass locally (2/2 passed with both client and app
modes)
- [x] Full test suite passes: **588 passed, 0 failed, 14 skipped**
- [x] Verified `caldav` 2.x API is backwards compatible — `DAVClient`
and `DAVResponse` imports and constructor unchanged in
`nc_py_api/calendar_api.py`1 parent 8e8cf61 commit 361773e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments