Bump boto3 to 1.16.52 (#47772)

This commit is contained in:
J. Nick Koston 2021-04-09 07:16:59 -10:00 committed by GitHub
parent 40450b9cfd
commit ac02f7c88a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 10 deletions

View File

@ -2,6 +2,6 @@
"domain": "amazon_polly",
"name": "Amazon Polly",
"documentation": "https://www.home-assistant.io/integrations/amazon_polly",
"requirements": ["boto3==1.9.252"],
"requirements": ["boto3==1.16.52"],
"codeowners": []
}

View File

@ -2,6 +2,6 @@
"domain": "aws",
"name": "Amazon Web Services (AWS)",
"documentation": "https://www.home-assistant.io/integrations/aws",
"requirements": ["aiobotocore==0.11.1"],
"requirements": ["aiobotocore==1.2.2"],
"codeowners": []
}

View File

@ -28,10 +28,7 @@ _LOGGER = logging.getLogger(__name__)
async def get_available_regions(hass, service):
"""Get available regions for a service."""
session = aiobotocore.get_session()
# get_available_regions is not a coroutine since it does not perform
# network I/O. But it still perform file I/O heavily, so put it into
# an executor thread to unblock event loop
return await hass.async_add_executor_job(session.get_available_regions, service)
return await session.get_available_regions(service)
async def async_get_service(hass, config, discovery_info=None):

View File

@ -2,6 +2,6 @@
"domain": "route53",
"name": "AWS Route53",
"documentation": "https://www.home-assistant.io/integrations/route53",
"requirements": ["boto3==1.9.252"],
"requirements": ["boto3==1.16.52"],
"codeowners": []
}

View File

@ -144,7 +144,7 @@ aioasuswrt==1.3.1
aioazuredevops==1.3.5
# homeassistant.components.aws
aiobotocore==0.11.1
aiobotocore==1.2.2
# homeassistant.components.dhcp
aiodiscover==1.3.3
@ -381,7 +381,7 @@ bond-api==0.1.12
# homeassistant.components.amazon_polly
# homeassistant.components.route53
boto3==1.9.252
boto3==1.16.52
# homeassistant.components.braviatv
bravia-tv==1.0.8

View File

@ -84,7 +84,7 @@ aioasuswrt==1.3.1
aioazuredevops==1.3.5
# homeassistant.components.aws
aiobotocore==0.11.1
aiobotocore==1.2.2
# homeassistant.components.dhcp
aiodiscover==1.3.3