[GRASS-dev] GSoC Week 2 Report - Full support of Python 3 in GRASS GIS

Hi everyone,

This is my Week 2 report for the project "Full support of Python 3 in GRASS GIS"

1) What did I complete this week?

    Updated the encode and decode function in utils.py to accept the
encoding type
    Ported functions from 'Script' library to deal with unicode/bytes
(https://gist.github.com/sanjeetbhatti/6714dff40b8a0a6d30df25ce9e4faa20)
    Tested the changes by running tests (testsuites)
    Tested against the python-grass-addon scripts available from here
(https://github.com/wenzeslaus/python-grass-addon)

2) What am I going to achieve for next week?

    Write more tests for script library to test the changes
    Look into the issue of running scripts for Python 3.5 and Python
3.6 (some tests fail on either of the versions)
    Port other small libraries and scripts

3) Is there any blocking issue?
    Not at the moment.

Thanks
--
Sanjeet Bhatti

On Sun, May 27, 2018 at 12:57 PM, Sanjeet <edu.sanjeet@gmail.com> wrote:

Hi everyone,

This is my Week 2 report for the project "Full support of Python 3 in GRASS GIS"

1) What did I complete this week?

    Updated the encode and decode function in utils.py to accept the
encoding type
    Ported functions from 'Script' library to deal with unicode/bytes
(https://gist.github.com/sanjeetbhatti/6714dff40b8a0a6d30df25ce9e4faa20)
    Tested the changes by running tests (testsuites)
    Tested against the python-grass-addon scripts available from here
(https://github.com/wenzeslaus/python-grass-addon)

2) What am I going to achieve for next week?

    Write more tests for script library to test the changes
    Look into the issue of running scripts for Python 3.5 and Python
3.6 (some tests fail on either of the versions)
    Port other small libraries and scripts

3) Is there any blocking issue?
    Not at the moment.

These are my links to wiki and public repository.

https://trac.osgeo.org/grass/wiki/GSoC/2018/FullSupportPython3#Week2
https://github.com/sanjeetbhatti/FullSupportPython3
--
Sanjeet Bhatti