Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

Preparations for Python 3.5 D-Day. #255

Merged
merged 36 commits into from
Apr 22, 2019
Merged

Preparations for Python 3.5 D-Day. #255

merged 36 commits into from
Apr 22, 2019

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented Apr 15, 2019

Description:

This is a big one...

Changes:

  • Various tweaks to both python and homeassistant suites.
  • Added a python-migration function
    • This handles checks if migration is needed and notify the user about it.
    • It "stores" the current pyversion in a file /srv/homeassistant/hassbian/pythonmigration
    • If the install script for HA is run, the user will not get a choice (this should only be used the first time anyway)
  • Added a new systeminfo function (Should be it's own PR...I know....)
    • This prints useful system information before running install/upgrade/remove scripts.
    • If there is an update to hassbian-config if will show that as well.

image

Related issue (if applicable): Fixes #

Checklist (Required):

If pertinent:

  • Script has validation check of the job.
  • Created/Updated documentation at /docs

@ludeeus ludeeus marked this pull request as ready for review April 19, 2019 15:59
@ludeeus ludeeus added this to the 0.13.0 milestone Apr 20, 2019
Copy link
Collaborator

@Landrash Landrash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

systeminfo is missing form "tab completion"

Copy link
Collaborator

@Landrash Landrash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error on Stretch

Checking current version...
3.5.3/opt/hassbian/suites/python.sh: line 29: python3.7: command not found
Upgrading to Python 3.7.3

Copy link
Collaborator

@Landrash Landrash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Tested on Stretch and Buster

@Landrash Landrash merged commit 10db5ad into home-assistant:dev Apr 22, 2019
@ludeeus ludeeus deleted the dday-prep branch April 22, 2019 10:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants