Suport for Python 3

General Discussion

Suport for Python 3

Postby gottsman » Wed Jul 20, 2016 7:30 pm

My AD2USB has been working flawlessly. I am trying to migrate to Home Assistant which requires Python 3.

Are there plans to support Python 2 and 3?

-- Kevin
gottsman
newt
newt
 
Posts: 11
Joined: Fri Jul 11, 2014 12:11 pm

Re: Suport for Python 3

Postby kevin » Wed Jul 20, 2016 8:59 pm

Not in the current roadmap - but it is possible to run python2 and python3 programs on the computer at the same time no problem.

This is also one of the reasons we've open sourced the project :)

The alarmdecoder library itself I believe might be python3 compatible but the webapp is not.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Suport for Python 3

Postby gottsman » Thu Jul 21, 2016 7:47 pm

The Home Assistant platform requires Python3.

I will try to fork the library code and submit a PR after I stumble my way modifying the code. :D

-- Kevin
gottsman
newt
newt
 
Posts: 11
Joined: Fri Jul 11, 2014 12:11 pm

Re: Suport for Python 3

Postby gottsman » Sat Jul 23, 2016 12:24 am

Submitted a PR request on github to support Python 3... I did test the changes on two separate computers and each version.

-- Kevin
gottsman
newt
newt
 
Posts: 11
Joined: Fri Jul 11, 2014 12:11 pm

Re: Suport for Python 3

Postby kevin » Sat Jul 23, 2016 8:28 am

Thanks Kevin,

Over the next few days we'll do some of our own testing and then merge it in.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Suport for Python 3

Postby gottsman » Sat Jul 23, 2016 10:34 am

Thanks, I did the testing I could locally.... You guys are much more equipped to test than me.

-- Kevin
gottsman
newt
newt
 
Posts: 11
Joined: Fri Jul 11, 2014 12:11 pm


Return to General

Who is online

Users browsing this forum: No registered users and 5 guests

cron