AppDaemon 3.x vs Home Assistant 0.68.1: The Battle over aiohttp 2.x and 3.x

When trying to upgrade AppDaemon to 3.0.1 I get this error message:
appdaemon 3.0.1 has requirement aiohttp==2.3.10, but you'll have aiohttp 3.1.3 which is incompatible.

When trying to upgrade Home Assistant to 0.68.1 I get this error:
homeassistant 0.68.1 has requirement aiohttp==3.1.3, but you'll have aiohttp 2.3.10 which is incompatible.

Anyone else experience this interesting conflict? Shouldn’t the latest version of HA be compatible with the latest version of AppDaemon?

Any thoughts?

Thanks!
-Chad

You need to create separate virtual environments for AppDaemon and HomeAssistant as they have different module dependencies.

2 Likes

Ahhh, I see. That’s unfortunate, but understandable.

I wonder if I did that when I first installed AppDaemon 2.1.12? I’ll have to look deeper at what I have installed and where.

Thanks!!

You probably didn’t (I know I didn’t) as at the time the modules required were the same.

I wrote some instructions here for someone else who wanted to create a venv for AD.

2 Likes