custom-components / pyscript

Pyscript adds rich Python scripting to HASS
Apache License 2.0
894 stars 47 forks source link

Python 3.11 support removed from Home Assistant #594

Closed kicker10BOG closed 7 months ago

kicker10BOG commented 7 months ago

As of now, Pyscript doesn't work with the latest Home Assistant (2024.4.0) because they removed Python 3.11 support.

I really like pyscript, so I hope this gets resolved.

ALERTua commented 7 months ago

Can you please provide the log output with the error? My pyscript works well with #595.

kicker10BOG commented 7 months ago

I didn't see any error logs, but I will go back to 2024.4.0 later today/tonight when it's safe to have it not working again and check again. But none of my pyscript stuff seemed to be working after the upgrade yesterday, so I reverted to 2024.3.3

ALERTua commented 7 months ago

So the reason is not in Python 3.11. Maybe #569?

kicker10BOG commented 7 months ago

Tonight it's working fine. Maybe something happened during the update last night when I first tried it. When it didn't worked, I looked at the release notes and saw they removed Python 3.11 support and searched on this github to see if pyscript had been upgraded and saw no sign of it. My mistake.