Bump aiobotocore to 3.10.0, botocore and boto3 to 1.43.117 (#189848)

This commit is contained in:
jimjaeger
2026-11-01 21:56:07 +00:00
committed by GitHub
parent 1d71b687da
commit 6d28a711af
12 changed files with 33 additions and 18 deletions
@@ -7,5 +7,5 @@
"iot_class": "cloud_push",
"loggers": ["boto3", "botocore", "s3transfer"],
"quality_scale": "legacy",
"requirements": ["boto3==1.42.97"]
"requirements": ["boto3==1.43.117"]
}
+1 -1
View File
@@ -10,5 +10,5 @@
"iot_class": "cloud_push",
"loggers": ["aiobotocore", "botocore"],
"quality_scale": "legacy",
"requirements": ["aiobotocore==3.7.0"]
"requirements": ["aiobotocore==3.10.0"]
}
@@ -10,5 +10,5 @@
"iot_class": "cloud_polling",
"loggers": ["aiobotocore"],
"quality_scale": "bronze",
"requirements": ["aiobotocore==3.7.0"]
"requirements": ["aiobotocore==3.10.0"]
}
@@ -9,5 +9,5 @@
"iot_class": "cloud_push",
"loggers": ["aiobotocore"],
"quality_scale": "bronze",
"requirements": ["aiobotocore==3.7.0"]
"requirements": ["aiobotocore==3.10.0"]
}
@@ -9,5 +9,5 @@
"iot_class": "cloud_push",
"loggers": ["aiobotocore"],
"quality_scale": "bronze",
"requirements": ["aiobotocore==3.7.0", "idrive-e2-client==0.1.1"]
"requirements": ["aiobotocore==3.10.0", "idrive-e2-client==0.1.1"]
}
@@ -7,5 +7,5 @@
"iot_class": "cloud_push",
"loggers": ["boto3", "botocore", "s3transfer"],
"quality_scale": "legacy",
"requirements": ["boto3==1.42.97"]
"requirements": ["boto3==1.43.117"]
}
+2 -2
View File
@@ -100,8 +100,8 @@ grpcio-reflection==1.83.1
# runtime requirement install cannot pull in a botocore version that is
# incompatible with aiobotocore.
# see https://github.com/home-assistant/core/issues/167399
boto3==1.42.97
botocore==1.42.97
boto3==1.43.117
botocore==1.43.117
# This is a old unmaintained library and is replaced with pycryptodome
pycrypto==1000000000.0.0
+2 -2
View File
@@ -233,7 +233,7 @@ aiobafi6==0.9.0
# homeassistant.components.aws_s3
# homeassistant.components.cloudflare_r2
# homeassistant.components.idrive_e2
aiobotocore==3.7.0
aiobotocore==3.10.0
# homeassistant.components.centriconnect
aiocentriconnect==0.2.3
@@ -765,7 +765,7 @@ boschshcpy==0.6.25
# homeassistant.components.amazon_polly
# homeassistant.components.route53
boto3==1.42.97
boto3==1.43.117
# homeassistant.components.bring
bring-api==1.1.2
+2 -2
View File
@@ -74,8 +74,8 @@ grpcio-reflection==1.83.1
# runtime requirement install cannot pull in a botocore version that is
# incompatible with aiobotocore.
# see https://github.com/home-assistant/core/issues/167399
boto3==1.42.97
botocore==1.42.97
boto3==1.43.117
botocore==1.43.117
# This is a old unmaintained library and is replaced with pycryptodome
pycrypto==1000000000.0.0
+7 -2
View File
@@ -771,7 +771,9 @@ async def test_agent_download_backup_parametrized(
@pytest.fixture
def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def downloaded_bodies(
mock_client: MagicMock, monkeypatch: pytest.MonkeyPatch
) -> list[StreamingBody]:
"""Return the bodies of downloaded backup archives."""
bodies: list[StreamingBody] = []
get_object = mock_client.get_object.side_effect
@@ -779,7 +781,10 @@ def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def get_object_and_track(**kwargs: Any) -> dict[str, Any]:
response = get_object(**kwargs)
if kwargs["Key"].endswith(".tar"):
bodies.append(response["Body"])
body = response["Body"]
# Spy on the real close so tests can assert the body was closed
monkeypatch.setattr(body, "close", Mock(wraps=body.close))
bodies.append(body)
return response
mock_client.get_object.side_effect = get_object_and_track
@@ -675,7 +675,9 @@ async def test_agent_list_backups_parametrized(
@pytest.fixture
def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def downloaded_bodies(
mock_client: MagicMock, monkeypatch: pytest.MonkeyPatch
) -> list[StreamingBody]:
"""Return the bodies of downloaded backup archives."""
bodies: list[StreamingBody] = []
get_object = mock_client.get_object.side_effect
@@ -683,7 +685,10 @@ def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def get_object_and_track(**kwargs: Any) -> dict[str, Any]:
response = get_object(**kwargs)
if kwargs["Key"].endswith(".tar"):
bodies.append(response["Body"])
body = response["Body"]
# Spy on the real close so tests can assert the body was closed
monkeypatch.setattr(body, "close", Mock(wraps=body.close))
bodies.append(body)
return response
mock_client.get_object.side_effect = get_object_and_track
+7 -2
View File
@@ -599,7 +599,9 @@ async def test_list_backups_with_pagination(
@pytest.fixture
def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def downloaded_bodies(
mock_client: MagicMock, monkeypatch: pytest.MonkeyPatch
) -> list[StreamingBody]:
"""Return the bodies of downloaded backup archives."""
bodies: list[StreamingBody] = []
get_object = mock_client.get_object.side_effect
@@ -607,7 +609,10 @@ def downloaded_bodies(mock_client: MagicMock) -> list[StreamingBody]:
def get_object_and_track(**kwargs: Any) -> dict[str, Any]:
response = get_object(**kwargs)
if kwargs["Key"].endswith(".tar"):
bodies.append(response["Body"])
body = response["Body"]
# Spy on the real close so tests can assert the body was closed
monkeypatch.setattr(body, "close", Mock(wraps=body.close))
bodies.append(body)
return response
mock_client.get_object.side_effect = get_object_and_track