[ 
https://issues.apache.org/jira/browse/CMIS-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laurent Mignon updated CMIS-1059:
---------------------------------
    Affects Version/s: cmislib 0.6.0
          Description: 
Make the library compatible with Python 3 while remaining compatible with 
Python 2.7.

 

The first step in the migration process was the implementation of a continuous 
integration process based on travis and the refactoring of the tests. (see 
[#10|https://github.com/apache/chemistry-cmislib/pull/10] for the motivations)

 

In a second step, the code was modified syntactically to be both Python 2 and 
Python 3 compliant.

 

The httplib2 library was then replaced by python-request 
([http://docs.python-requests.org/en/master/]). It natively supports Python 2 
and Python 3, manages sessions better (perf are improved), has no problem with 
large files and is very well maintained and documented. This library seems to 
be a de facto standard.

 

Finally, the code is now flake8.

 

These changes constitute a major evolution of the library. Even if all the unit 
tests allow us to believe that no regression was introduced by this 
refactoring, these changes must be validated by an intensive use of the library.

  was:Make the library compatible with python 3.


> Py3 Compat
> ----------
>
>                 Key: CMIS-1059
>                 URL: https://issues.apache.org/jira/browse/CMIS-1059
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: python-cmislib
>    Affects Versions: cmislib 0.6.0
>            Reporter: Laurent Mignon
>            Priority: Major
>
> Make the library compatible with Python 3 while remaining compatible with 
> Python 2.7.
>  
> The first step in the migration process was the implementation of a 
> continuous integration process based on travis and the refactoring of the 
> tests. (see [#10|https://github.com/apache/chemistry-cmislib/pull/10] for the 
> motivations)
>  
> In a second step, the code was modified syntactically to be both Python 2 and 
> Python 3 compliant.
>  
> The httplib2 library was then replaced by python-request 
> ([http://docs.python-requests.org/en/master/]). It natively supports Python 2 
> and Python 3, manages sessions better (perf are improved), has no problem 
> with large files and is very well maintained and documented. This library 
> seems to be a de facto standard.
>  
> Finally, the code is now flake8.
>  
> These changes constitute a major evolution of the library. Even if all the 
> unit tests allow us to believe that no regression was introduced by this 
> refactoring, these changes must be validated by an intensive use of the 
> library.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to