Bump gcal_sync to 4.0.0 (#81562)

* Bump gcal_sync to 2.2.4

* Bump gcal sync to 4.0.0

* Add Calendar accessRole fields which are now required
This commit is contained in:
Allen Porter 2022-11-05 17:06:34 -07:00 committed by GitHub
parent a635e9c9d2
commit 2ad1d31119
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==2.2.3", "oauth2client==4.1.3"],
"requirements": ["gcal-sync==4.0.0", "oauth2client==4.1.3"],
"codeowners": ["@allenporter"],
"iot_class": "cloud_polling",
"loggers": ["googleapiclient"]

View File

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

View File

@ -547,7 +547,7 @@ gTTS==2.2.4
garages-amsterdam==3.0.0
# homeassistant.components.google
gcal-sync==2.2.3
gcal-sync==4.0.0
# 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"},
{"id": primary_calendar_email, "summary": "Personal", "accessRole": "owner"},
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"},
{"id": EMAIL_ADDRESS, "summary": "Personal", "accessRole": "reader"},
)
mock_calendars_list({"items": [test_api_calendar]})