Skip to content

Commit 4a15f12

Browse files
authored
Add aiofiles to pyproject.toml (home-assistant#146561)
1 parent 8d24d77 commit 4a15f12

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

homeassistant/package_constraints.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
aiodhcpwatcher==1.2.0
44
aiodiscover==2.7.0
55
aiodns==3.4.0
6+
aiofiles==24.1.0
67
aiohasupervisor==0.3.1
78
aiohttp-asyncmdnsresolver==0.1.1
89
aiohttp-fast-zlib==0.3.0
@@ -201,14 +202,6 @@ tenacity!=8.4.0
201202
# TypeError: 'Timeout' object does not support the context manager protocol
202203
async-timeout==4.0.3
203204

204-
# aiofiles keeps getting downgraded by custom components
205-
# causing newer methods to not be available and breaking
206-
# some integrations at startup
207-
# https://github.com/home-assistant/core/issues/127529
208-
# https://github.com/home-assistant/core/issues/122508
209-
# https://github.com/home-assistant/core/issues/118004
210-
aiofiles>=24.1.0
211-
212205
# multidict < 6.4.0 has memory leaks
213206
# https://github.com/aio-libs/multidict/issues/1134
214207
# https://github.com/aio-libs/multidict/issues/1131

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
requires-python = ">=3.13.2"
2525
dependencies = [
2626
"aiodns==3.4.0",
27+
"aiofiles==24.1.0",
2728
# Integrations may depend on hassio integration without listing it to
2829
# change behavior based on presence of supervisor. Deprecated with #127228
2930
# Lib can be removed with 2025.11

requirements.txt

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

script/gen_requirements_all.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,6 @@
226226
# TypeError: 'Timeout' object does not support the context manager protocol
227227
async-timeout==4.0.3
228228
229-
# aiofiles keeps getting downgraded by custom components
230-
# causing newer methods to not be available and breaking
231-
# some integrations at startup
232-
# https://github.com/home-assistant/core/issues/127529
233-
# https://github.com/home-assistant/core/issues/122508
234-
# https://github.com/home-assistant/core/issues/118004
235-
aiofiles>=24.1.0
236-
237229
# multidict < 6.4.0 has memory leaks
238230
# https://github.com/aio-libs/multidict/issues/1134
239231
# https://github.com/aio-libs/multidict/issues/1131

0 commit comments

Comments
 (0)