-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-Software | Home Assistant: Install Python3.8 due to 3.6 deprecation #3219
Comments
@sdomotica |
@sdomotica Would be actually nice to install the latest version automatically, as long as HA supports this, but there seem to be no native pyenv command/option to pull the latest, besides scraping the versions --list. PR up: #3220
|
+ DietPi-Software | Home Assistant: Install latest Python version, as Python 3.6 will be deprecated in future versions: #3219 + DietPi-Software | Home Assistant: Run su and the start script in dash to slightly reduce memory usage and shell init times + DietPi-Software | Home Assistant: Failsafe: In case the userdata location does not yet exist, but the users home dir config does, move data/configs to userdata location to assure nothing is lost + DietPi-Software | Home Assistant: Minor coding/syntax enhancements/alignment + DietPi-Software | Home Assistant: Inform user about possibly long install times, when selecting HA from dietpi-software menu.
@MichaIng No specific request, I'm using 3.7.3 manually upgraded |
@sdomotica Switching to a non-pyenv install method or automatically pull the lastest available Python version is another point of discussion, but out of scope for DietPi v6.27. |
Hmm, facing this issue when testing on Stretch VM:
Result is that web UI does not work: |
I solved installing before a previous version of HA 0.100.0 the the last. |
Will try on Buster and Bullseye and with Python 3.7.3, lets see... Ah here it is reported already: home-assistant/core#28524 Running this from within the pyenv:
Bingo! Hmm not sure if we should add this to our installer now or wait for external fix... Probably short term workaround close to v6.27 release. |
+ DietPi-Software | Home Assistant: Install latest Python version, as Python 3.6 will be deprecated in future versions: #3219 + DietPi-Software | Home Assistant: Run su and the start script in dash to slightly reduce memory usage and shell init times + DietPi-Software | Home Assistant: Failsafe: In case the userdata location does not yet exist, but the users home dir config does, move data/configs to userdata location to assure nothing is lost + DietPi-Software | Home Assistant: Inform user about possibly long install times, when selecting HA from dietpi-software menu. + DietPi-Software | Home Assistant: Minor coding/syntax enhancements/alignment + DietPi-Patch | Inform user about required HA reinstall due to Python3.6 deprecation
I'm having problems reinstalling home assistant using the current beta: DietPi-Software [ INFO ] DietPi-Software | ha_user: homeassistant Any ideas why the virtual environment is not created? Best regards and a happy new year! |
@huettenwirt
|
@MichaIng I got HA installed, but I can't start HA. The status tells me the following: `[2020-01-03 14:52:22] --- Home Assistant is starting, please wait... Jan 03 14:51:49 RaspberryPi homeassistant-start.sh[19688]: File "/home/homeassistant/.pyenv/versions/3.8.0/lib/python3.8/site-packages/homeassistant/bootstrap.py", line 135, in async_from_config_fil ` Did any permissions change since last release? It seems HA can't use the HA user directory...? Thx for any hint on this and best regards! |
@huettenwirt
I'll go through the install code to assure this is done in every case before first service start. EDIT: Permissions are now assured: 70586d2 |
The new Home Assistant release 100.2 require Python 3.7, python 3.6 will be deprecated on the next
December, 15
Bye
Sandro
The text was updated successfully, but these errors were encountered: