From dev-return-10136-archive-asf-public=cust-asf.ponee.io@chemistry.apache.org Sun Jul 29 19:20:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8995A180679 for ; Sun, 29 Jul 2018 19:20:03 +0200 (CEST) Received: (qmail 89537 invoked by uid 500); 29 Jul 2018 17:20:02 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 89473 invoked by uid 99); 29 Jul 2018 17:20:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2018 17:20:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id D96C518071A for ; Sun, 29 Jul 2018 17:20:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id KqKgqe9aUXfT for ; Sun, 29 Jul 2018 17:20:00 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9F94C5F3CE for ; Sun, 29 Jul 2018 17:20:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 434FDE0178 for ; Sun, 29 Jul 2018 17:20:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0840827752 for ; Sun, 29 Jul 2018 17:20:00 +0000 (UTC) Date: Sun, 29 Jul 2018 17:20:00 +0000 (UTC) From: "Laurent Mignon (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CMIS-1059) Py3 Compat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-1059?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Laurent Mignon updated CMIS-1059: --------------------------------- Affects Version/s: cmislib 0.6.0 Description:=20 Make the library compatible with Python 3 while remaining compatible with P= ython 2.7. =C2=A0 The first step in the migration process was the implementation of a continu= ous integration process based on travis and the refactoring of the tests. (= see [#10|https://github.com/apache/chemistry-cmislib/pull/10] for the motiv= ations) =C2=A0 In a second step, the code was modified syntactically to be both Python 2 a= nd Python 3 compliant. =C2=A0 The httplib2 library was then replaced by python-request ([http://docs.pyth= on-requests.org/en/master/]). It natively supports Python 2 and Python 3, m= anages 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. =C2=A0 Finally, the code is now flake8. =C2=A0 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 re= factoring, these changes must be validated by an intensive use of the libra= ry. 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. > =C2=A0 > The first step in the migration process was the implementation of a conti= nuous integration process based on travis and the refactoring of the tests.= (see [#10|https://github.com/apache/chemistry-cmislib/pull/10] for the mot= ivations) > =C2=A0 > In a second step, the code was modified syntactically to be both Python 2= and Python 3 compliant. > =C2=A0 > The httplib2 library was then replaced by python-request ([http://docs.py= thon-requests.org/en/master/]). It natively supports Python 2 and Python 3,= manages sessions better (perf are improved), has no problem with large fil= es and is very well maintained and documented. This library seems to be a d= e facto standard. > =C2=A0 > Finally, the code is now flake8. > =C2=A0 > These changes constitute a major evolution of the library. Even if all th= e 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 lib= rary. -- This message was sent by Atlassian JIRA (v7.6.3#76005)