From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (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 48A3E4765E0 for ; Wed, 23 Dec 2020 15:36:17 +0300 (MSK) From: sergeyb@tarantool.org Date: Wed, 23 Dec 2020 15:36:02 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH v3 0/5] 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: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org, lvasiliev@tarantool.org Cc: Sergey Bronnikov From: Sergey Bronnikov Changes v3: - added patch with migration iteritems() to items() - revert changes that updates .result files - rework patch with bytes strings 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 v1: - convert print statements to functions - use "format()" instead of "%" everywhere Gitlab CI: https://gitlab.com/tarantool/tarantool/-/pipelines/233768577 Branch: https://github.com/tarantool/tarantool/tree/ligurio/gh-5538-support-python3 Issue: https://github.com/tarantool/tarantool/issues/5538 Sergey Bronnikov (5): test: convert print to function and make quotes use consistent test: make dict.items() compatible with Python 3.x test: make strings compatible with Python 3 test: get rid of iteritems() test: remove dead code in Python tests end extra newlines test/app-tap/httpd.py | 44 ++--- test/box-py/args.test.py | 12 +- test/box-py/bad_trigger.test.py | 16 +- test/box-py/bootstrap.test.py | 16 +- test/box-py/call.test.py | 80 ++++---- test/box-py/iproto.test.py | 239 ++++++++++++----------- test/box-py/print.test.py | 25 +-- test/box-py/snapshot.test.py | 19 +- test/long_run-py/finalizers.test.py | 10 +- test/replication-py/cluster.test.py | 217 ++++++++++---------- test/replication-py/conflict.test.py | 55 +++--- 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 | 23 ++- test/xlog-py/empty.test.py | 4 +- test/xlog-py/lsn_gap.test.py | 11 +- test/xlog-py/misc.test.py | 26 +-- test/xlog-py/missing.test.py | 10 +- 20 files changed, 518 insertions(+), 484 deletions(-) -- 2.25.1