From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 669A6C4707F for ; Thu, 27 May 2021 21:20:20 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CEA87613E2 for ; Thu, 27 May 2021 21:20:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CEA87613E2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:43210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmNQQ-0004fa-Tm for qemu-devel@archiver.kernel.org; Thu, 27 May 2021 17:20:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmNO3-0001Ly-LS for qemu-devel@nongnu.org; Thu, 27 May 2021 17:17:51 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:57333) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmNNk-00085w-Al for qemu-devel@nongnu.org; Thu, 27 May 2021 17:17:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622150251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FS+aSE2281vzB+eQpVUibSZxZxDPjClPtv0hwtpjHCU=; b=YvFXcFWT39A5koifaIWvy+4y86lIkMFgUvKzY4TAFkZq5nld9ACh2tM8feVql1+rjVsRDu ruLAe1rgkZM5XCaXYDCn0WmGvAQ+g5kjGGTyB8HhJhAUN5Nwc5G1LlytckJLkuya01N+lo 0oxJ3F2yxUYKnCqEuyQoT2xbl3SHCss= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-134-WE8jjie1NFK-SVe6yWR9pw-1; Thu, 27 May 2021 17:17:27 -0400 X-MC-Unique: WE8jjie1NFK-SVe6yWR9pw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 79F89FC97; Thu, 27 May 2021 21:17:26 +0000 (UTC) Received: from scv.redhat.com (ovpn-116-137.rdu2.redhat.com [10.10.116.137]) by smtp.corp.redhat.com (Postfix) with ESMTP id B50355D9CC; Thu, 27 May 2021 21:17:16 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Subject: [PATCH v8 00/31] python: create installable package Date: Thu, 27 May 2021 17:16:44 -0400 Message-Id: <20210527211715.394144-1-jsnow@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jsnow@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.133.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.374, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Thomas Huth , Eduardo Habkost , qemu-block@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Max Reitz , Willian Rampazzo , Cleber Rosa , John Snow Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Based-on: https://gitlab.com/cleber.gnu/qemu/-/commits/python-next=0D CI: https://gitlab.com/jsnow/qemu/-/pipelines/310845984=0D GitLab: https://gitlab.com/jsnow/qemu/-/tree/python-package-mk4=0D MR: https://gitlab.com/jsnow/qemu/-/merge_requests/7=0D =0D (Note: v8 is just being sent to collate final RB/TB tags and get final=0D Message-IDs.)=0D =0D ABOUT=0D =3D=3D=3D=3D=3D=0D =0D This series factors the python/qemu directory as an installable=0D package. It does not yet actually change the mechanics of how any other=0D python source in the tree actually consumes it (yet), beyond the import=0D path -- some import statements change in a few places.=0D =0D RATIONALE=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D =0D The primary motivation of this series is primarily to formalize our=0D dependencies on mypy, flake8, isort, and pylint alongside versions that=0D are known to work. It does this using the setup.cfg and setup.py=0D files. It also adds explicitly pinned versions (using Pipfile.lock) of=0D these dependencies that should behave in a repeatable and known way for=0D developers and CI environments both. Lastly, it enables those CI checks=0D such that we can enforce Python coding quality checks via the CI tests.=0D =0D An auxiliary motivation is that this package is formatted in such a way=0D that it COULD be uploaded to https://pypi.org/project/qemu and installed=0D independently of qemu.git with `pip install qemu`, but that button=0D remains *unpushed* and this series *will not* cause any such=0D releases. We have time to debate finer points like API guarantees and=0D versioning even after this series is merged.=0D =0D Other bits of interest=0D ----------------------=0D =0D With the python tooling as a proper package, you can install this=0D package in editable or production mode to a virtual environment, your=0D local user environment, or your system packages. The primary benefit of=0D this is to gain access to QMP tooling regardless of CWD, without needing=0D to battle sys.path (and confounding other python analysis tools).=0D =0D For example: when developing, you may go to qemu/python/ and run `make=0D venv` followed by `pipenv shell` to activate a virtual environment that=0D contains the qemu python packages. These packages will always reflect=0D the current version of the source files in the tree. When you are=0D finished, you can simply exit the shell (^d) to remove these packages=0D from your python environment.=0D =0D When not developing, you could install a version of this package to your=0D environment outright to gain access to the QMP and QEMUMachine classes=0D for lightweight scripting and testing by using pip: "pip install=0D [--user] ."=0D =0D TESTING THIS SERIES=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0D =0D First of all, nothing should change. Without any intervention,=0D everything should behave exactly as it did before. The only new=0D information here comes from how to interact with and run the linters=0D that will be enforcing code quality standards in this subdirectory.=0D =0D There are various invocations available that will test subtly different=0D combinations using subtly different environments. I am assuming some=0D light knowledge of Python environments and installing Python packages=0D here. If you have questions, I would be delighted to answer them.=0D =0D To test the new tests, CD to ./python/ first, and then:=0D =0D 0. Try "make" or "make help" to get a sense of this series.=0D =0D 1. Try "make venv && pipenv shell" to get a venv with the package=0D installed to it in editable mode. Ctrl+d exits this venv shell. While=0D in this shell, any python script that uses "from qemu.[qmp|machine]=0D import ..." should work correctly regardless of where the script is,=0D or what your CWD is.=0D =0D This will pull some packages from PyPI and install them into the=0D virtual environment, leaving your normal environment untouched.=0D =0D You will need Python 3.6 and pipenv installed on your system to do=0D this step. For Fedora: "dnf install python36 pipenv" will do the=0D trick. If you don't have this, skip down to \#4 and onwards.=0D =0D 2. Try "make check" while still in the shell to run the Python linters=0D using the venv built in the previous step. This will run avocado, which=0D will in turn execute mypy, flake8, isort and pylint with the correct=0D arguments.=0D =0D 3. Having exited the shell from above, try "make venv-check". This will=0D create and update the venv if needed, then run 'make check' within the=0D context of that shell. It should pass as long as the above did. You=0D should be able to run "make distclean" prior to running "make=0D venv-check" and have the entire process work start to finish.=0D =0D 4. Still outside of the venv, you may try running "make check". This=0D will not install anything, but unless you have the right Python=0D dependencies installed, these tests may fail for you. You might try=0D using "pip install --user .[devel]" to install the development packages=0D needed to run the tests successfully to your local user's python=0D environment. Once done, you will probably want to "pip uninstall qemu"=0D to remove the qemu packages to avoid them interfering with other things.=0D =0D 5. "make distclean" will delete the venv and any temporary files that=0D may have been created by packaging, installing, testing, etc.=0D =0D 6. You may also (if you wish) create your own environment using a Python=0D other than 3.6, bypassing pipenv. This may be useful for environments=0D in which you simply do not have Python 3.6 readily available, or=0D explicitly wish to test against a different version.=0D =0D Using the Python of your choice:=0D =0D - `> make distclean` (Remove the .venv, if you created one.)=0D - `> /usr/bin/python3.9 -m venv .venv`=0D - `> source .venv/bin/activate` (or activate.[fish|csh])=0D - `> make develop` (Installs linter deps to this venv)=0D - `> make check` (Runs tests using current env)=0D - `> deactivate` (Leaves the venv)=0D =0D This *should* pass, and if it doesn't, it's a bug. Due to=0D dependencies changing like shifting sands, it's impossible to promise=0D support for every last combination of dependency and python=0D version. This is why the "make venv-check" target uses Python 3 and a=0D very explicit set of packages instead. Still, this form *should*=0D pass.=0D =0D 7. If you are running Fedora or a distro that packages multiple Python=0D versions, you can try running "make check-tox" to run the linters under=0D all Python versions from Python 3.6 to 3.9. This will create a series of=0D virtual environments under the .tox folder, leaving your existing=0D environment unscathed. This should pass, provided you have the requisite=0D Python versions on hand. When you are done, "make distclean" should=0D remove any testing files.=0D =0D CHANGELOG=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=0D =0D V8=0D --=0D =0D ```=0D 031/31:[0010] [FC] 'gitlab: add python linters to CI'=0D ```=0D =0D - Changed gitlab job settings (Alex, Cleber, Vladimir)=0D =0D V7=0D --=0D =0D ```=0D 001/31:[----] [--] 'python/console_socket: avoid one-letter variable'=0D 002/31:[----] [--] 'python/machine: use subprocess.DEVNULL instead of open(= os.path.devnull)'=0D 003/31:[0002] [FC] 'python/machine: use subprocess.run instead of subproces= s.Popen'=0D 004/31:[----] [--] 'python/console_socket: Add a pylint ignore'=0D 005/31:[----] [-C] 'python/machine: Disable pylint warning for open() in _p= re_launch'=0D 006/31:[----] [--] 'python/machine: disable warning for Popen in _launch()'= =0D 007/31:[down] 'python/machine: Trim line length to below 80 chars'=0D 008/31:[----] [--] 'iotests/297: add --namespace-packages to mypy arguments= '=0D 009/31:[0040] [FC] 'python: create qemu packages'=0D 010/31:[0005] [FC] 'python: add qemu package installer'=0D 011/31:[----] [--] 'python: add VERSION file'=0D 012/31:[0008] [FC] 'python: add directory structure README.rst files'=0D 013/31:[0001] [FC] 'python: add MANIFEST.in'=0D 014/31:[----] [--] 'python: Add pipenv support'=0D 015/31:[----] [--] 'python: add pylint import exceptions'=0D 016/31:[----] [-C] 'python: move pylintrc into setup.cfg'=0D 017/31:[0084] [FC] 'python: add pylint to pipenv'=0D 018/31:[----] [-C] 'python: move flake8 config to setup.cfg'=0D 019/31:[----] [-C] 'python: add excluded dirs to flake8 config'=0D 020/31:[0028] [FC] 'python: Add flake8 to pipenv'=0D 021/31:[----] [--] 'python: move mypy.ini into setup.cfg'=0D 022/31:[0004] [FC] 'python: add mypy to pipenv'=0D 023/31:[----] [--] 'python: move .isort.cfg into setup.cfg'=0D 024/31:[0004] [FC] 'python/qemu: add isort to pipenv'=0D 025/31:[0004] [FC] 'python/qemu: add qemu package itself to pipenv'=0D 026/31:[0016] [FC] 'python: add devel package requirements to setuptools'= =0D 027/31:[0106] [FC] 'python: add avocado-framework and tests'=0D 028/31:[0020] [FC] 'python: add Makefile for some common tasks'=0D 029/31:[0004] [FC] 'python: add .gitignore'=0D 030/31:[0026] [FC] 'python: add tox support'=0D 031/31:[0043] [FC] 'gitlab: add python linters to CI'=0D ```=0D =0D Most of these changes are minor or were discussed on-list.=0D (RBs were kept in most, but not all cases.)=0D =0D - 00: Rebased on cleber/python-next=0D - Inlined python linting fixes again for my own sake of ease.=0D - 03: Changed check=3DTrue to check=3DFalse=0D - 07: New, minor delinting on top of cleber/python-next.=0D - 09: Squashed 'utils' package creation into this patch. Update commit msg= .=0D - Removed list of exported functions from package docstring=0D - utils/__init__.py now based on Cleber's utils.py=0D - 10: List subpackages explicitly; avoids some warnings for bdist/sdist=0D - 12: Phrasing suggestions from Cleber.=0D - 13: Exclude 'README.rst' (Didn't realize it was being included!)=0D - Update commit msg.=0D - 17: Upgraded to pylint 2.8.x ...=0D - 20: Only Pipenv.lock hash changes.=0D - 22: Only Pipenv.lock hash changes.=0D - 24: Update commit msg.=0D - Pipenv.lock hash changes.=0D - 25: Only Pipenv.lock hash changes.=0D - 26: Add README/PACKAGE blurbs explaining "qemu[devel]" usage.=0D - 27: Pipenv.lock hash changes.=0D - Update 'pipenv lock' comment to suggest '--dev'=0D - Re-sort dependency list to be alphabetical.=0D - 28: Use python3 setup.py clean --all for make target;=0D - shift dist/ cleaning to 'make distclean'=0D - Update README/PACKAGE blurbs to suggest the 'make develop' target=0D - 29: Remove .gitignore entries duplicated from the tree root.=0D - 30: Add Python 3.10 to the test matrix.=0D - Add PyPI classifiers for Python 3.6 - 3.10 support=0D - Move tox.ini into setup.cfg=0D - 31: Add a new python container just for running these tests.=0D - Rename 'check-python' to 'check-python-pipenv'=0D - Add 'check-python-tox' test that is allowed to fail w/ warning to CI= .=0D =0D STATUS=0D =3D=3D=3D=3D=3D=3D=3D=0D =0D ```=0D [01] python-console_socket-avoid # [RB] CR,PM [SOB] JS=0D [02] python-machine-use-subprocess # [RB] CR,PM [SOB] JS=0D [03] python-machine-use-subprocess-0 # [RB] CR [TB] CR [SOB] JS=0D [04] python-console_socket-add-a # [RB] CR [SOB] JS=0D [05] python-machine-disable-pylint # [RB] CR,WdSM [SOB] JS=0D [06] python-machine-disable-warning # [RB] CR [SOB] JS=0D [07] python-machine-trim-line # [RB] CR,VS [SOB] JS=0D [08] iotests-297-add-namespace # [RB] CR [SOB] JS=0D [09] python-create-qemu-packages # [RB] CR,VS [SOB] JS=0D [10] python-add-qemu-package # [RB] CR,VS [SOB] JS=0D [11] python-add-version-file # [RB] CR [SOB] JS=0D [12] python-add-directory-structure # [RB] CR [SOB] JS=0D [13] python-add-manifest-in # [RB] CR,VS [SOB] JS=0D [14] python-add-pipenv-support # [RB] CR [SOB] JS=0D [15] python-add-pylint-import # [RB] CR [SOB] JS=0D [16] python-move-pylintrc-into # [RB] CR [TB] CR [SOB] JS=0D [17] python-add-pylint-to-pipenv # [RB] CR,VS [TB] CR [SOB] JS=0D [18] python-move-flake8-config-to # [RB] CR [SOB] JS=0D [19] python-add-excluded-dirs-to # [RB] CR [SOB] JS=0D [20] python-add-flake8-to-pipenv # [RB] CR [TB] CR [SOB] JS=0D [21] python-move-mypy-ini-into # [RB] CR [SOB] JS=0D [22] python-add-mypy-to-pipenv # [RB] CR [TB] CR [SOB] JS=0D [23] python-move-isort-cfg-into # [RB] CR [SOB] JS=0D [24] python-qemu-add-isort-to # [RB] CR [SOB] JS=0D [25] python-qemu-add-qemu-package # [RB] CR [TB] CR [SOB] JS=0D [26] python-add-devel-package # [RB] CR [SOB] JS=0D [27] python-add-avocado-framework # [RB] CR [TB] CR [SOB] JS=0D [28] python-add-makefile-for-some # [RB] CR [TB] CR [SOB] JS=0D [29] python-add-gitignore # [RB] CR,VS [SOB] JS=0D [30] python-add-tox-support # [RB] CR [TB] CR [SOB] JS=0D [31] gitlab-add-python-linters-to # [RB] AB,CR,VS [SOB] JS=0D ```=0D =0D In need of review:=0D =0D - Nothing O:-)=0D =0D John Snow (31):=0D python/console_socket: avoid one-letter variable=0D python/machine: use subprocess.DEVNULL instead of=0D open(os.path.devnull)=0D python/machine: use subprocess.run instead of subprocess.Popen=0D python/console_socket: Add a pylint ignore=0D python/machine: Disable pylint warning for open() in _pre_launch=0D python/machine: disable warning for Popen in _launch()=0D python/machine: Trim line length to below 80 chars=0D iotests/297: add --namespace-packages to mypy arguments=0D python: create qemu packages=0D python: add qemu package installer=0D python: add VERSION file=0D python: add directory structure README.rst files=0D python: add MANIFEST.in=0D python: Add pipenv support=0D python: add pylint import exceptions=0D python: move pylintrc into setup.cfg=0D python: add pylint to pipenv=0D python: move flake8 config to setup.cfg=0D python: add excluded dirs to flake8 config=0D python: Add flake8 to pipenv=0D python: move mypy.ini into setup.cfg=0D python: add mypy to pipenv=0D python: move .isort.cfg into setup.cfg=0D python/qemu: add isort to pipenv=0D python/qemu: add qemu package itself to pipenv=0D python: add devel package requirements to setuptools=0D python: add avocado-framework and tests=0D python: add Makefile for some common tasks=0D python: add .gitignore=0D python: add tox support=0D gitlab: add python linters to CI=0D =0D python/PACKAGE.rst | 43 ++++=0D python/README.rst | 58 +++++=0D python/qemu/README.rst | 8 +=0D python/qemu/machine/README.rst | 9 +=0D python/qemu/qmp/README.rst | 9 +=0D python/qemu/utils/README.rst | 7 +=0D .gitlab-ci.d/containers.yml | 5 +=0D .gitlab-ci.yml | 24 ++=0D python/.gitignore | 16 ++=0D python/MANIFEST.in | 3 +=0D python/Makefile | 48 ++++=0D python/Pipfile | 13 ++=0D python/Pipfile.lock | 231 ++++++++++++++++++++=0D python/VERSION | 1 +=0D python/avocado.cfg | 10 +=0D python/mypy.ini | 4 -=0D python/qemu/.flake8 | 2 -=0D python/qemu/.isort.cfg | 7 -=0D python/qemu/__init__.py | 11 -=0D python/qemu/machine/__init__.py | 36 +++=0D python/qemu/{ =3D> machine}/console_socket.py | 11 +-=0D python/qemu/{ =3D> machine}/machine.py | 46 ++--=0D python/qemu/{ =3D> machine}/qtest.py | 3 +-=0D python/qemu/pylintrc | 58 -----=0D python/qemu/{qmp.py =3D> qmp/__init__.py} | 12 +-=0D python/qemu/{utils.py =3D> utils/__init__.py} | 18 +-=0D python/qemu/{ =3D> utils}/accel.py | 0=0D python/setup.cfg | 102 +++++++++=0D python/setup.py | 23 ++=0D python/tests/flake8.sh | 2 +=0D python/tests/isort.sh | 2 +=0D python/tests/mypy.sh | 2 +=0D python/tests/pylint.sh | 2 +=0D tests/acceptance/avocado_qemu/__init__.py | 9 +-=0D tests/acceptance/virtio-gpu.py | 2 +-=0D tests/docker/dockerfiles/python.docker | 18 ++=0D tests/qemu-iotests/297 | 1 +=0D tests/qemu-iotests/300 | 4 +-=0D tests/qemu-iotests/iotests.py | 2 +-=0D tests/vm/aarch64vm.py | 2 +-=0D tests/vm/basevm.py | 3 +-=0D 41 files changed, 748 insertions(+), 119 deletions(-)=0D create mode 100644 python/PACKAGE.rst=0D create mode 100644 python/README.rst=0D create mode 100644 python/qemu/README.rst=0D create mode 100644 python/qemu/machine/README.rst=0D create mode 100644 python/qemu/qmp/README.rst=0D create mode 100644 python/qemu/utils/README.rst=0D create mode 100644 python/.gitignore=0D create mode 100644 python/MANIFEST.in=0D create mode 100644 python/Makefile=0D create mode 100644 python/Pipfile=0D create mode 100644 python/Pipfile.lock=0D create mode 100644 python/VERSION=0D create mode 100644 python/avocado.cfg=0D delete mode 100644 python/mypy.ini=0D delete mode 100644 python/qemu/.flake8=0D delete mode 100644 python/qemu/.isort.cfg=0D delete mode 100644 python/qemu/__init__.py=0D create mode 100644 python/qemu/machine/__init__.py=0D rename python/qemu/{ =3D> machine}/console_socket.py (94%)=0D rename python/qemu/{ =3D> machine}/machine.py (96%)=0D rename python/qemu/{ =3D> machine}/qtest.py (98%)=0D delete mode 100644 python/qemu/pylintrc=0D rename python/qemu/{qmp.py =3D> qmp/__init__.py} (96%)=0D rename python/qemu/{utils.py =3D> utils/__init__.py} (66%)=0D rename python/qemu/{ =3D> utils}/accel.py (100%)=0D create mode 100644 python/setup.cfg=0D create mode 100755 python/setup.py=0D create mode 100755 python/tests/flake8.sh=0D create mode 100755 python/tests/isort.sh=0D create mode 100755 python/tests/mypy.sh=0D create mode 100755 python/tests/pylint.sh=0D create mode 100644 tests/docker/dockerfiles/python.docker=0D =0D --=20=0D 2.31.1=0D =0D