From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC69l-0003uw-Dq for qemu-devel@nongnu.org; Mon, 15 Oct 2018 12:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC69k-0001GR-Kt for qemu-devel@nongnu.org; Mon, 15 Oct 2018 12:55:49 -0400 Received: from mail-ot1-x331.google.com ([2607:f8b0:4864:20::331]:39468) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gC69k-0001Fs-ES for qemu-devel@nongnu.org; Mon, 15 Oct 2018 12:55:48 -0400 Received: by mail-ot1-x331.google.com with SMTP id l58so19584975otd.6 for ; Mon, 15 Oct 2018 09:55:48 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87woqjw4o3.fsf@dusky.pond.sub.org> References: <20181013050227.17022-1-ehabkost@redhat.com> <20181015093243.GE6785@redhat.com> <20181015101309.GD10459@localhost.localdomain> <87woqjw4o3.fsf@dusky.pond.sub.org> From: Peter Maydell Date: Mon, 15 Oct 2018 17:55:27 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [Qemu-devel] [RFC] Require Python 3 for building QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Kevin Wolf , Eduardo Habkost , Qemu-block , QEMU Developers , Stefan Hajnoczi , Cleber Rosa , Fam Zheng , Max Reitz , =?UTF-8?B?QWxleCBCZW5uw6ll?= , =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= On 15 October 2018 at 17:33, Markus Armbruster wrote: > Kevin Wolf writes: > >> Am 15.10.2018 um 12:02 hat Peter Maydell geschrieben: >> It's easier to port stuff to Python 3 though than making them work with >> both. I think Eduardo's RFC is in part motivated by a patch from >> Philippe that converted something in iotests to work with Python 3, >> passed review and then turned out to break Python 2. > > Seconded. This is not about the cost of maintaining existing > compatibility gunk, it's about the extra effort to first get the > remainder to work with 2 and 3, only to throw away 2 a few months later. > > I propose we permit ourselves to port stuff that isn't essential to > building QEMU straight to 3 instead. This includes iotests. No particular objection, as long as nothing run via 'make' or 'make check' needs Python 3. I also suspect "a few months" is an underestimate. My guess would be we're going to want to keep Python 2 support for at least the next year, maybe two. thanks -- PMM