singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moaz Reyad (JIRA)" <>
Subject [jira] [Created] (SINGA-459) Remove support for Python 2.7
Date Thu, 23 May 2019 12:32:00 GMT
Moaz Reyad created SINGA-459:

             Summary: Remove support for Python 2.7
                 Key: SINGA-459
             Project: Singa
          Issue Type: Improvement
            Reporter: Moaz Reyad

The [support of Python 2 will end soon|] and some projects already
stopped supporting it. (For example,[scikit-learn|]
0.20 was the last version to support Python2.7).

If everyone agrees, we can plan to remove the Python 2 support from SINGA starting from the
next release.

This will help in improving the python code and simplifying the building process.

For the code improvement: currently the code uses 'future' library to support both python
2 and 3. This will not be needed if only python 3 code is supported. There is also string
encoding code that is complicated by the need to be backward compatible with python 2.

For the building process: the build options will contain only python 3 by default. The developers
will not confuse python 2 and python 3 options and dependencies. Testing will be easier because
only python 3 scenarios will be tested.

This message was sent by Atlassian JIRA

View raw message