Received: from eggs.gnu.org ([2001:4830:134:3::10]:52415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCGVz-0002jH-9C for qemu-devel@nongnu.org; Mon, 15 Oct 2018 23:59:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCGVy-0001hE-4B for qemu-devel@nongnu.org; Mon, 15 Oct 2018 23:59:27 -0400 From: Markus Armbruster References: <20181013050227.17022-1-ehabkost@redhat.com> <20181015093243.GE6785@redhat.com> <20181015101309.GD10459@localhost.localdomain> <87woqjw4o3.fsf@dusky.pond.sub.org> <20181015180130.GO31060@habkost.net> Date: Tue, 16 Oct 2018 05:59:08 +0200 In-Reply-To: <20181015180130.GO31060@habkost.net> (Eduardo Habkost's message of "Mon, 15 Oct 2018 15:01:30 -0300") Message-ID: <8736t6wnhv.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC] Require Python 3 for building QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Peter Maydell , Kevin Wolf , Fam Zheng , Qemu-block , QEMU Developers , Stefan Hajnoczi , Cleber Rosa , Max Reitz , Alex =?utf-8?Q?Benn=C3=A9e?= , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Eduardo Habkost writes: > On Mon, Oct 15, 2018 at 05:55:27PM +0100, Peter Maydell wrote: >> 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. > > Sounds like a good plan for 3.1. > > But: > >> >> 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. > > Python 2.7 will die in less than 15 months[1]. I really want us > to stop reviewing and maintaining Python 2 code in QEMU in less > than 1 year. Preferably in less than 6 months. Seconded. > [1] https://pythonclock.org/ 1 year, 2 months, 15 days, 17 hours, 1 minute, 36 seconds, and counting.