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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT 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 10453C04AB5 for ; Mon, 3 Jun 2019 19:52:10 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DC358268EC for ; Mon, 3 Jun 2019 19:52:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC358268EC 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 ([127.0.0.1]:40067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXt05-0003dS-6R for qemu-devel@archiver.kernel.org; Mon, 03 Jun 2019 15:52:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXsyd-0002Mz-Vi for qemu-devel@nongnu.org; Mon, 03 Jun 2019 15:50:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXst8-0003KJ-9G for qemu-devel@nongnu.org; Mon, 03 Jun 2019 15:44:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37290) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXst8-0003IW-0m for qemu-devel@nongnu.org; Mon, 03 Jun 2019 15:44:58 -0400 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 mx1.redhat.com (Postfix) with ESMTPS id 55B5F85543; Mon, 3 Jun 2019 19:44:57 +0000 (UTC) Received: from localhost (ovpn-120-246.rdu2.redhat.com [10.10.120.246]) by smtp.corp.redhat.com (Postfix) with ESMTP id BFD4A5D9C6; Mon, 3 Jun 2019 19:44:49 +0000 (UTC) Date: Mon, 3 Jun 2019 16:44:48 -0300 From: Eduardo Habkost To: Cornelia Huck Message-ID: <20190603194448.GR22103@habkost.net> References: <20190531192429.GH22103@habkost.net> <93e5101f-67f1-a416-5e80-f16371a35e6a@redhat.com> <871s0asvli.fsf@dusky.pond.sub.org> <236db86d-52df-5537-4f33-f3c09bbb6289@redhat.com> <20190603201629.0880a337.cohuck@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603201629.0880a337.cohuck@redhat.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 03 Jun 2019 19:44:57 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: Re: [Qemu-devel] Deprecation policy and build dependencies X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , "Daniel P. Berrange" , Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Markus Armbruster , qemu-devel@nongnu.org, Cleber Rosa , John Snow Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Mon, Jun 03, 2019 at 08:16:29PM +0200, Cornelia Huck wrote: > On Mon, 3 Jun 2019 14:02:16 -0400 > John Snow wrote: > > > On 6/3/19 8:26 AM, Markus Armbruster wrote: > > > John Snow writes: > > > > > >> On 5/31/19 3:24 PM, Eduardo Habkost wrote: > > >>> Long story short: I would really like to drop support for Python > > >>> 2 in QEMU 4.1. > > > > > > The sooner, the better, as far as I'm concerned. > > > > > >>> What exactly prevents us from doing this? Does our deprecation > > >>> policy really apply to build dependencies? > > >>> > > >> > > >> Normally I'd say it's only nice to also follow the depreciation policy > > >> for tooling as well to give people a chance to switch away, but with > > >> regards to Python2, I feel like we're in the clear to drop it for the > > >> first release that will happen after the Python2 doomsday clock. > > >> > > >> (So, probably 4.2.) > > > > > > In addition to our feature deprecation policity, we have a "Supported > > > build platforms" policy (commit 45b47130f4b). The most common holdback > > > is this one: > > > > > > For distributions with long-lifetime releases, the project will aim > > > to support the most recent major version at all times. Support for > > > the previous major version will be dropped 2 years after the new > > > major version is released. For the purposes of identifying supported > > > software versions, the project will look at RHEL, Debian, Ubuntu > > > LTS, and SLES distros. Other long-lifetime distros will be assumed > > > to ship similar software versions. > > > > > > RHEL-7 has Python 3 only in EPEL. RHEL-8 came out last month. Unless > > > we interpret our policy to include EPEL, this means supporting Python 2 > > > for some 16 months after upstream Python retires it. My personal > > > opinion: nuts. > > > > > > > I would rather not support Python2 a day after the clock expires. Me neither. > > > > > I didn't bother checking Debian, Ubuntu LTS and SLES. > > > > > > For hosts other than Linux, we're less ambitious. > > > > > > > That policy strikes me as weird, because RHEL7 is not going to be, in > > general, using the latest and greatest QEMU. Usually stable versions of > > distros stick with the versions of the programs that came out at the time. > > I think the idea was that folks might actually develop on a 'stable' > distro (in a previous life, I used to complain quite often that > building QEMU on a stable distro broke... it was one of my main > development machines, but not controlled by me). Good point. > > > > > What's the benefit of making sure that stable platforms can continue to > > run the *newest* QEMU? Is this even a reasonable restriction? If you are > > running RHEL7, how many projects do you expect to be able to git clone > > and build and have that work with the rest of your legacy/stable > > dependencies? > > > > RHEL7 uses a 1.5.3 based version. I don't think it matters if we update > > 4.2 to be Python3 only, really. > > It depends on how old the distro is and what update policy it > uses... if parts of it are regularly updated, it might actually be > usable. In this case, I think we really need to interpret our policy > to include EPEL, or it is completely nuts. Let's do that, please. If we simply include EPEL in our policy we don't need to treat Python as special. -- Eduardo