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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C2E1CC05027 for ; Fri, 10 Feb 2023 00:33:14 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQHKY-0001Q5-UE; Thu, 09 Feb 2023 19:31:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQHKW-0001O1-OL for qemu-devel@nongnu.org; Thu, 09 Feb 2023 19:31:56 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQHKT-0001dt-Gb for qemu-devel@nongnu.org; Thu, 09 Feb 2023 19:31:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675989112; 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=zpc7elwnoNJPYSftblMgwXaNQ2QvlvKWAxVYfrjuheY=; b=ILR6O948tpfUc5KEerm12lgO7eOtwWayO5LMKpSYYvcY7M98xofYjRLWxyZJnmIgMW6Oi5 W7FdUC3GRrL+eN8/XnpQgQBOMzBZXBFemDbi051CUm9GSUuZJCFaG8j+0jM/A+k1fwWEtE BL7c6jw1u2Y2lLh8J0MVoHtJ6Uy+xnw= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-261-xcI5tYYfPB6sIG2j8iH4QQ-1; Thu, 09 Feb 2023 19:31:49 -0500 X-MC-Unique: xcI5tYYfPB6sIG2j8iH4QQ-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A05401C04B64; Fri, 10 Feb 2023 00:31:48 +0000 (UTC) Received: from scv.redhat.com (unknown [10.22.16.119]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0BD8018EC1; Fri, 10 Feb 2023 00:31:47 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org Cc: Peter Maydell , Cleber Rosa , John Snow , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , Daniel Berrange , Beraldo Leal , Michael Roth , Wainer dos Santos Moschetta , Markus Armbruster , Paolo Bonzini , qemu-block@nongnu.org, Hanna Reitz , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf Subject: [PATCH v2 0/7] Python: Drop support for Python 3.6 Date: Thu, 9 Feb 2023 19:31:40 -0500 Message-Id: <20230210003147.1309376-1-jsnow@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 Received-SPF: pass client-ip=170.10.129.124; envelope-from=jsnow@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Howdy, this series increases our minimum python version to 3.7.=0D =0D CI: https://gitlab.com/jsnow/qemu/-/pipelines/771780626=0D (All green!)=0D GL: https://gitlab.com/jsnow/qemu/-/commits/python-require-37=0D =0D Patches 1 and 2 are loose pre-requisites; I'd like to merge them into=0D qemu.git within the week whether or not we take this series. I'd=0D appreciate an "ACK" on those specifically. They're just riding along=0D here because they make this series a bit nicer.=0D =0D Patches 3-6 are the hard pre-requisites, and 7 does the dirty work.=0D =0D The motivation for this series is that Python 3.6 was EOL at the end of=0D 2021; upstream tools are beginning to drop support for it, including=0D setuptools, pylint, mypy, etc. As time goes by, it becomes more=0D difficult to support and test against the full range of Python versions=0D that QEMU supports. The closer we get to Python 3.12, the harder it will=0D be to cover that full spread of versions.=0D =0D The qemu.qmp library and the avocado testing framework both have=0D motivations for dropping 3.6 support, but are committed to not doing so=0D until QEMU drops support.=0D =0D So, I'd like to talk about doing it.=0D =0D V2:=0D - Added R-Bs to patch 1=0D - Updated commit message for patch 7 with explicit version info=0D - Added DO-NOT-MERGE to patch 5's title=0D - Tested tests/vm/freebsd, netbsd, and openbsd in addition to full CI=0D =0D RFC:=0D - Patch 5 is just a proof-of-concept; we need to update lcitool instead.=0D - Cleber, I need to update your ansible scripts. How do I test them?=0D =0D Thanks!=0D --js=0D =0D John Snow (7):=0D python: support pylint 2.16=0D python: drop pipenv=0D configure: Look for auxiliary Python installations=0D configure: Add nice hint to Python failure message=0D DO-NOT-MERGE: testing: Add Python >=3D 3.7 to Centos, OpenSuSE=0D CI: Stop building docs on centos8=0D Python: Drop support for Python 3.6=0D =0D docs/conf.py | 4 +-=0D python/README.rst | 3 -=0D configure | 40 +-=0D .gitlab-ci.d/buildtest.yml | 2 +-=0D .gitlab-ci.d/static_checks.yml | 4 +-=0D python/.gitignore | 4 +-=0D python/Makefile | 57 ++-=0D python/Pipfile | 13 -=0D python/Pipfile.lock | 347 ------------------=0D python/qemu/qmp/protocol.py | 2 +-=0D python/qemu/qmp/qmp_client.py | 2 +-=0D python/qemu/utils/qemu_ga_client.py | 6 +-=0D python/setup.cfg | 11 +-=0D python/tests/minreqs.txt | 45 +++=0D scripts/qapi/mypy.ini | 2 +-=0D tests/docker/dockerfiles/centos8.docker | 1 +=0D tests/docker/dockerfiles/opensuse-leap.docker | 1 +=0D tests/docker/dockerfiles/python.docker | 1 -=0D tests/qemu-iotests/iotests.py | 4 +-=0D .../tests/migrate-bitmaps-postcopy-test | 2 +-=0D 20 files changed, 135 insertions(+), 416 deletions(-)=0D delete mode 100644 python/Pipfile=0D delete mode 100644 python/Pipfile.lock=0D create mode 100644 python/tests/minreqs.txt=0D =0D -- =0D 2.39.0=0D =0D