[chirp_users] CHIRP on py3
I see there is a py3 branch. What is the state of CHIRP on Python 3? I am intending to further improve the FT70 driver, and a pal as an FT3 which he has done some outline memory mapping work for. Should we be developing against the py3 branch? Thanks. Nicolas
I saw this originally on chirp_devel with no replies and meant to respond back there but regardless I too am interested in knowing about the py3 branch.
Tony
Get Outlook for Androidhttps://aka.ms/ghei36
________________________________ From: chirp_users-bounces@intrepid.danplanet.com chirp_users-bounces@intrepid.danplanet.com on behalf of Nicolas Pike nicolas@jetblackjelly.com Sent: Tuesday, September 17, 2019 8:07:29 AM To: chirp_users@intrepid.danplanet.com chirp_users@intrepid.danplanet.com Subject: [chirp_users] CHIRP on py3
I see there is a py3 branch. What is the state of CHIRP on Python 3? I am intending to further improve the FT70 driver, and a pal as an FT3 which he has done some outline memory mapping work for. Should we be developing against the py3 branch? Thanks. Nicolas
On 17/09/2019 14:56, Tony Fuller wrote:
I saw this originally on chirp_devel with no replies and meant to respond back there but regardless I too am interested in knowing about the py3 branch.
Tony
Get Outlook for Androidhttps://aka.ms/ghei36
From: chirp_users-bounces@intrepid.danplanet.com chirp_users-bounces@intrepid.danplanet.com on behalf of Nicolas Pike nicolas@jetblackjelly.com Sent: Tuesday, September 17, 2019 8:07:29 AM To: chirp_users@intrepid.danplanet.com chirp_users@intrepid.danplanet.com Subject: [chirp_users] CHIRP on py3
I see there is a py3 branch. What is the state of CHIRP on Python 3? I am intending to further improve the FT70 driver, and a pal as an FT3 which he has done some outline memory mapping work for. Should we be developing against the py3 branch? Thanks. Nicolas
As distros are now dropping Py2 surely this is a must.
I maintain the chirp package for Mageia and we have already dropped Py2 in our development branch for the next release.
Barry
On Sat, Sep 21, 2019 at 7:15 AM Barry Jackson zen25000@zen.co.uk wrote:
From: chirp_users-bounces@intrepid.danplanet.com <
chirp_users-bounces@intrepid.danplanet.com> on behalf of Nicolas Pike < nicolas@jetblackjelly.com>
Sent: Tuesday, September 17, 2019 8:07:29 AM To: chirp_users@intrepid.danplanet.com <
chirp_users@intrepid.danplanet.com>
Subject: [chirp_users] CHIRP on py3
I see there is a py3 branch. What is the state of CHIRP on Python 3? I am intending to further improve the FT70 driver, and a pal as an FT3
which he has done some outline memory mapping work for.
Should we be developing against the py3 branch? Thanks. Nicolas
As distros are now dropping Py2 surely this is a must.
I maintain the chirp package for Mageia and we have already dropped Py2 in our development branch for the next release.
I maintain chirp for Fedora and it will not work as of Fedora 31 which is now in Beta.
There has been a lot of work but I'm not sure what the exact status is, however, you can track it here:
https://chirp.danplanet.com/issues/495
Thanks, Richard KF5OIM
On 21/09/2019 13:24, Richard Shaw wrote:
On Sat, Sep 21, 2019 at 7:15 AM Barry Jackson zen25000@zen.co.uk wrote:
From: chirp_users-bounces@intrepid.danplanet.com <
chirp_users-bounces@intrepid.danplanet.com> on behalf of Nicolas Pike < nicolas@jetblackjelly.com>
Sent: Tuesday, September 17, 2019 8:07:29 AM To: chirp_users@intrepid.danplanet.com <
chirp_users@intrepid.danplanet.com>
Subject: [chirp_users] CHIRP on py3
I see there is a py3 branch. What is the state of CHIRP on Python 3? I am intending to further improve the FT70 driver, and a pal as an FT3
which he has done some outline memory mapping work for.
Should we be developing against the py3 branch? Thanks. Nicolas
As distros are now dropping Py2 surely this is a must.
I maintain the chirp package for Mageia and we have already dropped Py2 in our development branch for the next release.
I maintain chirp for Fedora and it will not work as of Fedora 31 which is now in Beta.
There has been a lot of work but I'm not sure what the exact status is, however, you can track it here:
https://chirp.danplanet.com/issues/495
Thanks, Richard KF5OIM
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Barry at zen25000@zen.co.uk To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
Thanks Richard,
I can't figure out where the git repository is, to checkout the py3 branch.
I have spent half an hour going around the site looking for links but can't find it - any ideas?
Cheers, Barry G4MKT
On Tue, Oct 15, 2019 at 5:36 PM Barry Jackson zen25000@zen.co.uk wrote:
I can't figure out where the git repository is, to checkout the py3 branch.
Here's where you can browse it... Time for me to go to bed so I didn't look hard for a repository link, not even sure it's git.
https://chirp.danplanet.com/projects/chirp/repository/show?rev=py3
Thanks, Richard
Mercurial
https://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess
On 10/15/2019 7:34 PM, Richard Shaw wrote:
On Tue, Oct 15, 2019 at 5:36 PM Barry Jackson <zen25000@zen.co.uk mailto:zen25000@zen.co.uk> wrote:
I can't figure out where the git repository is, to checkout the py3 branch.
Here's where you can browse it... Time for me to go to bed so I didn't look hard for a repository link, not even sure it's git.
https://chirp.danplanet.com/projects/chirp/repository/show?rev=py3
Thanks, Richard
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Peter KM6WXN at ptlambert@sbcglobal.net To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
On 16/10/2019 10:46, Peter wrote:
Mercurial
https://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess
On 10/15/2019 7:34 PM, Richard Shaw wrote:
On Tue, Oct 15, 2019 at 5:36 PM Barry Jackson <zen25000@zen.co.uk mailto:zen25000@zen.co.uk> wrote:
I can't figure out where the git repository is, to checkout the py3 branch.
Here's where you can browse it... Time for me to go to bed so I didn't look hard for a repository link, not even sure it's git.
https://chirp.danplanet.com/projects/chirp/repository/show?rev=py3
Thanks, Richard
Thanks Peter and Richard.
I have tried to build from py3 branch but hit lots of syntax errors, mainly except and print missing brackets. (output attached)
Barry
On Wed, Oct 16, 2019 at 3:53 PM Barry Jackson zen25000@zen.co.uk wrote:
I have tried to build from py3 branch but hit lots of syntax errors, mainly except and print missing brackets. (output attached)
The exception problem is quite easily fixed, see:
https://docs.python.org/3.3/howto/pyporting.html
Basically they need to be changed from:
except Exception, e:
to
except Exception as e:
The 2to3 conversion program can do this automatically or you can try your and with sed :)
Thanks, Richard KF5OIM
The last time default was merged into the py3 branch was in March.
I don't know enough about the internals to work through the conflicts but it would be really nice if a new merge was made.
Thanks, Richard KF5OIM
On 17/10/2019 14:41, Richard Shaw wrote:
On Wed, Oct 16, 2019 at 3:53 PM Barry Jackson zen25000@zen.co.uk wrote:
I have tried to build from py3 branch but hit lots of syntax errors, mainly except and print missing brackets. (output attached)
The exception problem is quite easily fixed, see:
https://docs.python.org/3.3/howto/pyporting.html
Basically they need to be changed from:
except Exception, e:
to
except Exception as e:
The 2to3 conversion program can do this automatically or you can try your and with sed :)
Thanks, I had already created a patch to fix the except errors, but then decided it was going to be a long haul so stopped there.
I had not heard about 2to3, it worked perfectly and fixed all the syntax issues.
I then hit what appeared to be a dependency issue, but totally unrelated to Linux, so after patching that out of the sources I now have a working package which installs and runs as far as the GUI.
I will add the remaining console error messages in another mail later with news of further testing, and my current patches in case they may be useful.
Cheers, Barry G4MKT
Thanks, Richard KF5OIM
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Barry at zen25000@zen.co.uk To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
participants (5)
-
Barry Jackson
-
Nicolas Pike
-
Peter
-
Richard Shaw
-
Tony Fuller