mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
Bump aiohttp 3.13.3 (#160206)
This commit is contained in:
@@ -6,7 +6,7 @@ aiodns==3.6.1
|
||||
aiohasupervisor==0.3.3
|
||||
aiohttp-asyncmdnsresolver==0.1.1
|
||||
aiohttp-fast-zlib==0.3.0
|
||||
aiohttp==3.13.2
|
||||
aiohttp==3.13.3
|
||||
aiohttp_cors==0.8.1
|
||||
aiousbwatcher==1.1.1
|
||||
aiozoneinfo==0.2.3
|
||||
|
||||
@@ -29,7 +29,7 @@ dependencies = [
|
||||
# change behavior based on presence of supervisor. Deprecated with #127228
|
||||
# Lib can be removed with 2025.11
|
||||
"aiohasupervisor==0.3.3",
|
||||
"aiohttp==3.13.2",
|
||||
"aiohttp==3.13.3",
|
||||
"aiohttp_cors==0.8.1",
|
||||
"aiohttp-fast-zlib==0.3.0",
|
||||
"aiohttp-asyncmdnsresolver==0.1.1",
|
||||
|
||||
2
requirements.txt
generated
2
requirements.txt
generated
@@ -7,7 +7,7 @@ aiodns==3.6.1
|
||||
aiohasupervisor==0.3.3
|
||||
aiohttp-asyncmdnsresolver==0.1.1
|
||||
aiohttp-fast-zlib==0.3.0
|
||||
aiohttp==3.13.2
|
||||
aiohttp==3.13.3
|
||||
aiohttp_cors==0.8.1
|
||||
aiozoneinfo==0.2.3
|
||||
annotatedyaml==1.0.2
|
||||
|
||||
@@ -1,25 +1,29 @@
|
||||
"""Shopping list test helpers."""
|
||||
|
||||
from collections.abc import Generator
|
||||
from contextlib import suppress
|
||||
import os
|
||||
from pathlib import Path
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.shopping_list import intent as sl_intent
|
||||
from homeassistant.components.shopping_list import PERSISTENCE, intent as sl_intent
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from tests.common import MockConfigEntry
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def wipe_shopping_list_store(hass: HomeAssistant) -> Generator[None]:
|
||||
"""Wipe shopping list store after test."""
|
||||
try:
|
||||
def shopping_list_tmp_path(tmp_path: Path, hass: HomeAssistant) -> Generator[None]:
|
||||
"""Use a unique temp directory for shopping list storage per test."""
|
||||
orig_path = hass.config.path
|
||||
|
||||
def _mock_path(*args: str) -> str:
|
||||
if args == (PERSISTENCE,):
|
||||
return str(tmp_path / PERSISTENCE)
|
||||
return orig_path(*args)
|
||||
|
||||
with patch.object(hass.config, "path", _mock_path):
|
||||
yield
|
||||
finally:
|
||||
with suppress(FileNotFoundError):
|
||||
os.remove(hass.config.path(".shopping_list.json"))
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
Reference in New Issue
Block a user