[GRASS-dev] : [SoC] Week 7 Report - Full support of Python 3 in GRASS GIS

Hi Sanjeet,

Since you are starting in on the GUI now, I thought I'd let you know that I've compiled GRASS with wxPython 3 and 4 on the Mac and it works pretty well, with a few glitches. Anna Petrasova has solved most of the glitches. I'm compiling this with Python 2.7, but the current versions of wxPython (4 is most current stable) work with Python 3.

Michael

_________________________________

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

On 7/2/18, 2:57 AM, "grass-dev on behalf of grass-dev-request@lists.osgeo.org" <grass-dev-bounces@lists.osgeo.org on behalf of grass-dev-request@lists.osgeo.org> wrote:

    Date: Sun, 1 Jul 2018 13:09:49 -0600
    From: Sanjeet <edu.sanjeet@gmail.com>
    To: OSGeo-SoC <soc@lists.osgeo.org>, GRASS developers list
      <grass-dev@lists.osgeo.org>
    Subject: [GRASS-dev] [SoC] Week 7 Report - Full support of Python 3 in
      GRASS GIS
    Message-ID:
      <CAGap9v8dWfCv0JofEWYJx-CTr_u845iy7GK1P14JmjqUnZNwUA@mail.gmail.com>
    Content-Type: text/plain; charset="UTF-8"
    
    Hi everyone,
    
    This is my week Week 7 report for the project "Full support of Python
    3 in GRASS GIS"
    
    1) What did I complete this week?
    
        Updated ctypes to deal with bytes[0]
        Worked on 'temporal' library [1], lot of errors were encountered
        Looked into issues for 'pygrass' testsuites which were failing too
        Created a spreadsheet[2] detailing errors and information
    regarding the temporal testsuites
        Also, updated the pygrass testsuite details on spreadsheet[3]
    
    2) What am I going to achieve for the next week?
    
        Start exploring GUI library, starting with mapdisp and imgr
        Continue working on fixing ctypes module
        Continue working on 'temporal' library

On Tue, Jul 3, 2018 at 9:24 AM, Michael Barton <Michael.Barton@asu.edu> wrote:

Hi Sanjeet,

Since you are starting in on the GUI now, I thought I'd let you know that I've compiled GRASS with wxPython 3 and 4 on the Mac and it works pretty well, with a few glitches. Anna Petrasova has solved most of the glitches. I'm compiling this with Python 2.7, but the current versions of wxPython (4 is most current stable) work with Python 3.

Hi Michael,

Thank you for informing that wxPython 3 and 4 both work on Python 2.7.
Currently, I am updating the GUI files(starting with mapdisp and imgr)
to work with wxPython 4 on all versions of Python (2.7 and above).

Once I get it working on my system I'll share the patch. It will be
great to have a lot of people testing it and giving feedback.

Thanks
Sanjeet

Sanjeev,

I recommend working with the trunk code on this. Anna has recently updated several modules to work with wxp 4.

Michael

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Jul 3, 2018, at 5:32 PM, Sanjeet <edu.sanjeet@gmail.com> wrote:

On Tue, Jul 3, 2018 at 9:24 AM, Michael Barton <Michael.Barton@asu.edu> wrote:
Hi Sanjeet,

Since you are starting in on the GUI now, I thought I'd let you know that I've compiled GRASS with wxPython 3 and 4 on the Mac and it works pretty well, with a few glitches. Anna Petrasova has solved most of the glitches. I'm compiling this with Python 2.7, but the current versions of wxPython (4 is most current stable) work with Python 3.

Hi Michael,

Thank you for informing that wxPython 3 and 4 both work on Python 2.7.
Currently, I am updating the GUI files(starting with mapdisp and imgr)
to work with wxPython 4 on all versions of Python (2.7 and above).

Once I get it working on my system I'll share the patch. It will be
great to have a lot of people testing it and giving feedback.

Thanks
Sanjeet

Hi Michael,

Yes, I am working on the latest trunk code.

Sanjeet
Sanjeet

On Tue, Jul 3, 2018 at 5:40 PM, Michael Barton <Michael.Barton@asu.edu> wrote:

Sanjeev,

I recommend working with the trunk code on this. Anna has recently updated several modules to work with wxp 4.

Michael

Michael Barton
School of Human Evolution &Social Change
Center for Social Dynamics & Complexity
Arizona State University

...Sent from my iPad

On Jul 3, 2018, at 5:32 PM, Sanjeet <edu.sanjeet@gmail.com> wrote:

On Tue, Jul 3, 2018 at 9:24 AM, Michael Barton <Michael.Barton@asu.edu> wrote:
Hi Sanjeet,

Since you are starting in on the GUI now, I thought I'd let you know that I've compiled GRASS with wxPython 3 and 4 on the Mac and it works pretty well, with a few glitches. Anna Petrasova has solved most of the glitches. I'm compiling this with Python 2.7, but the current versions of wxPython (4 is most current stable) work with Python 3.

Hi Michael,

Thank you for informing that wxPython 3 and 4 both work on Python 2.7.
Currently, I am updating the GUI files(starting with mapdisp and imgr)
to work with wxPython 4 on all versions of Python (2.7 and above).

Once I get it working on my system I'll share the patch. It will be
great to have a lot of people testing it and giving feedback.

Thanks
Sanjeet