Skip to content

Commit f53e4d6

Browse files
committed
Pin pycares<5 to fix pytest CI failure
pycares 5.0.1 removed ares_query_a_result which aiodns 3.5.0 still references, causing an AttributeError at import time and failing all tests.
1 parent df9f54a commit f53e4d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pytest-homeassistant-custom-component==0.13.269 # Matching version
55
psutil-home-assistant # Not sure why this is needed?
66
fnv_hash_fast # Or this?
77
pytest-asyncio
8+
pycares<5 # pycares 5.0.1 removed ares_query_a_result, incompatible with aiodns 3.5.0
89

910
# For pytest. Keep in sync with manifest.json and https://github.com/home-assistant/core/blob/master/requirements_all.txt.
1011
pyserial==3.5

0 commit comments

Comments
 (0)