singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wang Wei <wang...@comp.nus.edu.sg>
Subject Re: [jira] [Created] (SINGA-459) Remove support for Python 2.7
Date Fri, 24 May 2019 01:34:31 GMT
+1.

On Thu, May 23, 2019 at 8:32 PM Moaz Reyad (JIRA) <jira@apache.org> wrote:

> Moaz Reyad created SINGA-459:
> --------------------------------
>
>              Summary: Remove support for Python 2.7
>                  Key: SINGA-459
>                  URL: https://issues.apache.org/jira/browse/SINGA-459
>              Project: Singa
>           Issue Type: Improvement
>             Reporter: Moaz Reyad
>
>
> The [support of Python 2 will end soon|https://pythonclock.org/] and some
> projects already stopped supporting it. (For example,[scikit-learn|
> https://github.com/scikit-learn/scikit-learn#installation] 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
> (v7.6.3#76005)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message