Page 1 of 1

Suport for Python 3

PostPosted: Wed Jul 20, 2016 7:30 pm
by gottsman
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

Re: Suport for Python 3

PostPosted: Wed Jul 20, 2016 8:59 pm
by kevin
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.

Re: Suport for Python 3

PostPosted: Thu Jul 21, 2016 7:47 pm
by gottsman
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

Re: Suport for Python 3

PostPosted: Sat Jul 23, 2016 12:24 am
by gottsman
Submitted a PR request on github to support Python 3... I did test the changes on two separate computers and each version.

-- Kevin

Re: Suport for Python 3

PostPosted: Sat Jul 23, 2016 8:28 am
by kevin
Thanks Kevin,

Over the next few days we'll do some of our own testing and then merge it in.

Re: Suport for Python 3

PostPosted: Sat Jul 23, 2016 10:34 am
by gottsman
Thanks, I did the testing I could locally.... You guys are much more equipped to test than me.

-- Kevin