From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp56.i.mail.ru (smtp56.i.mail.ru [217.69.128.36]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4D16C45C304 for ; Sun, 13 Dec 2020 22:02:13 +0300 (MSK) References: From: Sergey Bronnikov Message-ID: <6a4cfc82-ef53-f381-6772-6fdcb1a3bb35@tarantool.org> Date: Sun, 13 Dec 2020 22:02:11 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [Tarantool-patches] [PATCH v3 0/4] Support Python 3 in tests and PEPify source code List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: lvasiliev@tarantool.org, tarantool-patches@dev.tarantool.org Cc: Vladislav Shpilevoy , alexander.turenko@tarantool.org + tarantool-patches@dev.tarantool.org On 11.12.2020 11:42, sergeyb@tarantool.org wrote: > From: Sergey Bronnikov > > Changes v1: > - convert print statements to functions > - use "format()" instead of "%" everywhere > > Changes v2: > - make using quotes with strings consistent > - remove dead code > - remove empty prints > - added make target for running flake8 > - added flake8 config > - added job to run flake8 on Gitlab CI > > Changes v3: > - removed three patches with flake8 integration > - fixed rest patches according to comments on review > - add a separate patch with converting dict.items() to a list > - add a new patch with conversion string to hex > > Gitlab CI: https://gitlab.com/tarantool/tarantool/-/jobs/904769000 > Branch: https://github.com/tarantool/tarantool/tree/ligurio/gh-5538-support-python3 > Issue: https://github.com/tarantool/tarantool/issues/5538 > > Sergey Bronnikov (4): > test: convert print to function and make quotes use consistent > test: make dict.items() compatible with Python 3.x > test: make convert to hex compatible with Python 3.x > test: remove dead code in Python tests end extra newline > > test/app-tap/httpd.py | 42 ++--- > test/box-py/args.test.py | 14 +- > test/box-py/bad_trigger.result | 2 - > test/box-py/bad_trigger.test.py | 20 +-- > test/box-py/bootstrap.result | 2 +- > test/box-py/bootstrap.test.py | 16 +- > test/box-py/call.result | 12 +- > test/box-py/call.test.py | 92 +++++----- > test/box-py/iproto.result | 10 +- > test/box-py/iproto.test.py | 220 +++++++++++------------ > test/box-py/print.result | 6 +- > test/box-py/print.test.py | 24 +-- > test/box-py/snapshot.result | 4 +- > test/box-py/snapshot.test.py | 33 ++-- > test/long_run-py/finalizers.result | 2 +- > test/long_run-py/finalizers.test.py | 8 +- > test/replication-py/cluster.result | 6 +- > test/replication-py/cluster.test.py | 217 +++++++++++----------- > test/replication-py/conflict.test.py | 54 +++--- > test/replication-py/init_storage.test.py | 58 +++--- > test/replication-py/multi.test.py | 78 ++++---- > test/replication-py/swap.test.py | 55 +++--- > test/xlog-py/big_lsn.test.py | 4 +- > test/xlog-py/dup_key.test.py | 22 +-- > test/xlog-py/empty.test.py | 4 +- > test/xlog-py/lsn_gap.test.py | 11 +- > test/xlog-py/misc.test.py | 33 ++-- > test/xlog-py/missing.test.py | 10 +- > 28 files changed, 530 insertions(+), 529 deletions(-) >