Bump gcal_sync to 4.0.1 to fix Google Calendar config flow (#81873)

Bump gcal_sync to 4.0.1

This reverts test chagnes from PR #81562 that were actually incorrect given
the calendar "get" API returns less information that the "CalendarList" api.
This commit is contained in:
Allen Porter 2022-11-09 19:34:31 -08:00 committed by GitHub
parent 8b4dbbe593
commit f34de5072a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
"config_flow": true,
"dependencies": ["application_credentials"],
"documentation": "https://www.home-assistant.io/integrations/calendar.google/",
"requirements": ["gcal-sync==4.0.0", "oauth2client==4.1.3"],
"requirements": ["gcal-sync==4.0.1", "oauth2client==4.1.3"],
"codeowners": ["@allenporter"],
"iot_class": "cloud_polling",
"loggers": ["googleapiclient"]

View file

@ -738,7 +738,7 @@ gTTS==2.2.4
garages-amsterdam==3.0.0
# homeassistant.components.google
gcal-sync==4.0.0
gcal-sync==4.0.1
# homeassistant.components.geniushub
geniushub-client==0.6.30

View file

@ -554,7 +554,7 @@ gTTS==2.2.4
garages-amsterdam==3.0.0
# homeassistant.components.google
gcal-sync==4.0.0
gcal-sync==4.0.1
# homeassistant.components.geocaching
geocachingapi==0.2.1

View file

@ -104,7 +104,7 @@ async def primary_calendar(
"""Fixture to return the primary calendar."""
mock_calendar_get(
"primary",
{"id": primary_calendar_email, "summary": "Personal", "accessRole": "owner"},
{"id": primary_calendar_email, "summary": "Personal"},
exc=primary_calendar_error,
)

View file

@ -768,7 +768,7 @@ async def test_assign_unique_id(
mock_calendar_get(
"primary",
{"id": EMAIL_ADDRESS, "summary": "Personal", "accessRole": "reader"},
{"id": EMAIL_ADDRESS, "summary": "Personal"},
)
mock_calendars_list({"items": [test_api_calendar]})