-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Home assistant python 3.9 #4500
Comments
Many thanks for your question. Do you mean upgrading Home Assistent or the underlying Python version? For upgrading Home Assistent, you can use the update script:
Check out the docs about this as well: https://dietpi.com/docs/software/home_automation/#home-assistant If you want to upgrade the underlying Python version, you need to do a reinstall: |
I have the last version 2021.6.5 with python 3.8.5 on dietpi , but I have a problem with an integration & dietpi and I suppose the issue is related to python version the process is blockend on this istruction await hass.async_add_executor_job. with no logs of errors In other distribution the problem is not exists. |
A reinstall will compile Python 3.8.10 currently. The last time I checked, Home Assistant stated compatibility with Python 3.8 but not Python 3.9 yet. |
Did the reinstall help? |
in the end I haven't reinstalled yet. I don't understand why on my installation the landroid cloud plugin (https://github.com/MTrab/landroid_cloud/blob/master/README.md) stops on this instruction hass.async_add_executor_job(client[dev].connect, device, False) and then timeout connection in other installation this problem is not present, in the log no information or error |
I mark this as closed. Feel free to reopen if required. |
Hello, I have last HA version and have notification to upgrade python to 3.9. Can You tell me what to put in to upgrade python? |
usually a reinstall of HA should do this. |
If you do not run a Stretch or Buster Raspberry Pi ARMv6 or ARMv7 system, simply reinstall it: dietpi-software reinstall 157 If you runs such a system, wait with the reinstall until we fixed: #4928 |
@MichaIng I install Dietpi (upgraded to Bullseye) on intel MiniPC x64. Can I just reinstall HA to have that python upgrade? |
Yes exactly. |
what is the procedurre for this upgrade?
The text was updated successfully, but these errors were encountered: