Page 1 of 1

Advise on python upgrade needed

Posted: Saturday 28 November 2020 17:39
by zicht
Version: 2020.2 (build 12641)
Python Version: 3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 15:51:26) [MSC v.1900 32 bit (Intel)]

Since for this version of python the support has stopped i am looking to upgrade.
I work in Pi & Win10 (both domotics latest beta)
The pip freeze command is known and i saved the packages.
Tried to merge all the plugins without luck (not all packages are still supported)
Tried 3.6 and 3.9 version on win10.

The questions :
- Is it mandatory to upgade since its not longer maintained ?
- Any thoughts on what is the best approach to upgrade ?
- Should i install a newer version separate as secons instance of the current version ? If Yes what kind of problems can this cause ?

Thanks for any suggestion ,,,

Re: Advise on python upgrade needed

Posted: Sunday 29 November 2020 11:22
by Dnpwwo
@zicht,

On Linux I always recommend that people run the one that comes with their distribution. 3.5.3 may be out of official support but if it isn't broken don't try and fix it. Domoticz still support 3.5 so you don't need to upgrade.

Python between 3.4 and 3.7 didn't change much from a Domoticz perspective but 3.8 and 3.9 both had breaking changes. On Windows make sure you remove the old versions before upgrading. Install as administrator for all users and add Python to the PATH.

Re: Advise on python upgrade needed

Posted: Sunday 29 November 2020 20:19
by zicht
Dnpwwo wrote: Sunday 29 November 2020 11:22 Python between 3.4 and 3.7 didn't change much from a Domoticz perspective but 3.8 and 3.9 both had breaking changes.
Thank you. :D
I''ll stick to the current version as long as it keeps supported by domoticz : it is only used to support the domotic plugins :geek: