Advise on python upgrade needed Topic is solved

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
zicht
Posts: 300
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Advise on python upgrade needed

Post 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 ,,,
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Advise on python upgrade needed

Post 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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
zicht
Posts: 300
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: Advise on python upgrade needed

Post 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:
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest