add Python 3.7 notes

This commit is contained in:
Andreas Billmeier 2019-11-05 13:09:31 +01:00
parent db6a5c0bfe
commit 5dd7b799b2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 8 additions and 10 deletions

View File

@ -9,7 +9,9 @@ https://github.com/home-assistant/home-assistant
"Open source home automation that puts local control and privacy first."
This was fork of https://cgit.gentoo.org/user/lmiphay.git/tree/app-misc/homeassistant-bin which seemed unmaintained to me, at first I just wanted to compile it for my personal use. This happed at 0.77 in September 2018. Some friends told me they wanted to use/see it, so i putted it on my gitea, and was caught by surprise of several hundred pageviews in the very first days. Try to keep it close to the official releases, might get slower during summer. After 3 months it had ~170 ebuilds, now > 633 ebuilds in > 350 packages listed.
This was fork of https://cgit.gentoo.org/user/lmiphay.git/tree/app-misc/homeassistant-bin which seemed unmaintained to me, at first I just wanted to compile it for my personal use. This happed at 0.77 in September 2018. Some friends told me they wanted to use/see it, so i putted it on my gitea, and was caught by surprise of several hundred pageviews in the very first days. Try to keep it close to the official releases, might get slower during summer. After 3 months it had ~170 ebuilds, now (Nov 2019) > 1069 ebuilds in > 700 packages listed.
[Python 3.7 Mogration](https://git.edevau.net/onkelbeh/HomeAssistantRepository/src/branch/master/python3_7.md).
Aside from Home Assistant it contains some related ebuilds I use with my Home Assistant:
@ -21,13 +23,6 @@ Since homeassistant-0.95.0_beta0 `esphome-1.13.6` can be run again in the same e
If you have questions or suggestions don't hesitate to contact me, anyhelp is very welcome.
Currently there's work to build a package for:
- ~~homeassistant-pyozw-0.1.4~~ (now compiles with a short unpack hack)
- ~~open-zwave-hass-0.1.4~~ (not needed anymore)
- ~~python-openzwave~~ (not needed anymore)
They mix up python code with some c++, currently i have no idea how to handle that.
#### You will find this Repository at
| Location | Web | Clone me here |
| ------ | ------ | ------ |
@ -56,6 +51,9 @@ $ cat /etc/locale.gen
de_DE ISO-8859-1
de_DE@euro UTF-8
```
Take a look at [Python 3.7 Mogration](https://git.edevau.net/onkelbeh/HomeAssistantRepository/src/branch/master/python3_7.md).
Additional information can be found at https://wiki.gentoo.org/wiki//etc/portage/repos.conf.
Let me know if any initial depencies are missing, since i do not use all of the components myself, last good (full) compile test was August 3rd, 2019 with v0.97.0_beta1, while changing gentoo's profile to 17.1.

View File

@ -1,11 +1,11 @@
# Python 3.7 Support
## Why?
Home assistant drops support for Python 3.6 on the first release after December 15, 2019:
Home assistant will drop support for Python 3.6 with the first release after December 15, 2019:
https://github.com/home-assistant/home-assistant/pull/27680
https://github.com/home-assistant/architecture/blob/master/adr/0002-minimum-supported-python-version.md.
This code is already merged in the [dev branch](https://github.com/home-assistant/home-assistant/pull/27680/commits/a5eca20845e6825682d1b01c1be3c9c245b311e1)
This code is already merged in the [dev branch](https://github.com/home-assistant/home-assistant/pull/27680/commits/a5eca20845e6825682d1b01c1be3c9c245b311e1):
if sys.version_info[:3] < (3, 7, 0):
msg = (