chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Mignon <lmig...@apache.org>
Subject Python cmislib compatible python2 and python3
Date Sun, 29 Jul 2018 17:17:50 GMT
Dear community,

I'm pleased to announce that a new version of the python cmislib library is
now available into svn. (https://svn.apache.org/repos/asf/chemistry/cmislib
/branches/py3_compat/) This version is a major evolution of this client
library to make it compatible at same time with python2 and python3.

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) (All my devs are done into github and travis is freely
available into github)

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 (perfs 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.
Comments and reviews are welcome.

Regards,

Laurent Mignon

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