mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Bump ical to 7.0.3 to fix local-todo persisted with invalid DTSTART values (#113526)
This commit is contained in:
parent
ab9b64729a
commit
a9da9ee443
@ -7,5 +7,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/calendar.google",
|
||||
"iot_class": "cloud_polling",
|
||||
"loggers": ["googleapiclient"],
|
||||
"requirements": ["gcal-sync==6.0.3", "oauth2client==4.1.3", "ical==7.0.1"]
|
||||
"requirements": ["gcal-sync==6.0.3", "oauth2client==4.1.3", "ical==7.0.3"]
|
||||
}
|
||||
|
@ -6,5 +6,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/local_calendar",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["ical"],
|
||||
"requirements": ["ical==7.0.1"]
|
||||
"requirements": ["ical==7.0.3"]
|
||||
}
|
||||
|
@ -5,5 +5,5 @@
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/local_todo",
|
||||
"iot_class": "local_polling",
|
||||
"requirements": ["ical==7.0.1"]
|
||||
"requirements": ["ical==7.0.3"]
|
||||
}
|
||||
|
@ -1115,7 +1115,7 @@ ibmiotf==0.3.4
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.local_calendar
|
||||
# homeassistant.components.local_todo
|
||||
ical==7.0.1
|
||||
ical==7.0.3
|
||||
|
||||
# homeassistant.components.ping
|
||||
icmplib==3.0
|
||||
|
@ -905,7 +905,7 @@ ibeacon-ble==1.2.0
|
||||
# homeassistant.components.google
|
||||
# homeassistant.components.local_calendar
|
||||
# homeassistant.components.local_todo
|
||||
ical==7.0.1
|
||||
ical==7.0.3
|
||||
|
||||
# homeassistant.components.ping
|
||||
icmplib==3.0
|
||||
|
@ -22,6 +22,16 @@
|
||||
list([
|
||||
])
|
||||
# ---
|
||||
# name: test_parse_existing_ics[invalid_dtstart_tzname]
|
||||
list([
|
||||
dict({
|
||||
'due': '2023-10-24T11:30:00',
|
||||
'status': 'needs_action',
|
||||
'summary': 'Task',
|
||||
'uid': '077cb7f2-6c89-11ee-b2a9-0242ac110002',
|
||||
}),
|
||||
])
|
||||
# ---
|
||||
# name: test_parse_existing_ics[migrate_legacy_due]
|
||||
list([
|
||||
dict({
|
||||
|
@ -671,6 +671,28 @@ async def test_move_item_previous_unknown(
|
||||
),
|
||||
"1",
|
||||
),
|
||||
(
|
||||
textwrap.dedent(
|
||||
"""\
|
||||
BEGIN:VCALENDAR
|
||||
PRODID:-//homeassistant.io//local_todo 2.0//EN
|
||||
VERSION:2.0
|
||||
BEGIN:VTODO
|
||||
DTSTAMP:20231024T014011
|
||||
UID:077cb7f2-6c89-11ee-b2a9-0242ac110002
|
||||
CREATED:20231017T010348
|
||||
LAST-MODIFIED:20231024T014011
|
||||
SEQUENCE:1
|
||||
STATUS:NEEDS-ACTION
|
||||
SUMMARY:Task
|
||||
DUE:20231024T113000
|
||||
DTSTART;TZID=CST:20231024T113000
|
||||
END:VTODO
|
||||
END:VCALENDAR
|
||||
"""
|
||||
),
|
||||
"1",
|
||||
),
|
||||
],
|
||||
ids=(
|
||||
"empty",
|
||||
@ -679,6 +701,7 @@ async def test_move_item_previous_unknown(
|
||||
"needs_action",
|
||||
"migrate_legacy_due",
|
||||
"due",
|
||||
"invalid_dtstart_tzname",
|
||||
),
|
||||
)
|
||||
async def test_parse_existing_ics(
|
||||
|
Loading…
x
Reference in New Issue
Block a user