Skip to content

Commit fb4c77d

Browse files
edenhausfrenck
authored andcommitted
Add aiofiles to pyproject.toml (home-assistant#146561)
1 parent cada2f8 commit fb4c77d

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
@@ -228,14 +228,6 @@
228228
# TypeError: 'Timeout' object does not support the context manager protocol
229229
async-timeout==4.0.3
230230
231-
# aiofiles keeps getting downgraded by custom components
232-
# causing newer methods to not be available and breaking
233-
# some integrations at startup
234-
# https://github.com/home-assistant/core/issues/127529
235-
# https://github.com/home-assistant/core/issues/122508
236-
# https://github.com/home-assistant/core/issues/118004
237-
aiofiles>=24.1.0
238-
239231
# multidict < 6.4.0 has memory leaks
240232
# https://github.com/aio-libs/multidict/issues/1134
241233
# https://github.com/aio-libs/multidict/issues/1131

0 commit comments

Comments
 (0)