[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU |
Date: |
Mon, 15 Oct 2018 15:01:30 -0300 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Mon, Oct 15, 2018 at 05:55:27PM +0100, Peter Maydell wrote:
> On 15 October 2018 at 17:33, Markus Armbruster <address@hidden> wrote:
> > Kevin Wolf <address@hidden> 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.
[1] https://pythonclock.org/
--
Eduardo
- Re: [Qemu-block] [RFC] Require Python 3 for building QEMU, (continued)
Re: [Qemu-block] [RFC] Require Python 3 for building QEMU, Daniel P . Berrangé, 2018/10/15
- Re: [Qemu-block] [RFC] Require Python 3 for building QEMU, Peter Maydell, 2018/10/15
- Re: [Qemu-block] [RFC] Require Python 3 for building QEMU, Daniel P . Berrangé, 2018/10/15
- Re: [Qemu-block] [RFC] Require Python 3 for building QEMU, Kevin Wolf, 2018/10/15
- Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Markus Armbruster, 2018/10/15
- Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Peter Maydell, 2018/10/15
- Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU,
Eduardo Habkost <=
- Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Markus Armbruster, 2018/10/15
- Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Peter Maydell, 2018/10/16
Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Christian Borntraeger, 2018/10/15
Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Eduardo Habkost, 2018/10/15
Re: [Qemu-block] [Qemu-devel] [RFC] Require Python 3 for building QEMU, Christian Borntraeger, 2018/10/15