From: John Snow <jsnow@redhat.com>
To: Markus Armbruster <armbru@redhat.com>,
Peter Maydell <peter.maydell@linaro.org>
Cc: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"QEMU Developers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Deprecation policy and build dependencies
Date: Tue, 4 Jun 2019 11:51:20 -0400 [thread overview]
Message-ID: <8f52c29b-82e2-8970-5fe1-a56a77fc0830@redhat.com> (raw)
In-Reply-To: <87lfyhq5la.fsf@dusky.pond.sub.org>
On 6/4/19 1:31 AM, Markus Armbruster wrote:
> Peter Maydell <peter.maydell@linaro.org> writes:
>
>> On Mon, 3 Jun 2019 at 19:21, John Snow <jsnow@redhat.com> wrote:
>>> I get it, we don't want to require Python 3.8 because some dev wanted
>>> assignment conditionals -- but we're talking about Python 2 here, which
>>> suffers its EOL by the end of this calendar year.
>
> "Not because some dev wanted assignment conditionals" is the non-reason.
> Let me spell out the reason: supporting Python 2 is expensive for us.
> As the amount of Python code grows, it gets more and more expensive.
>
> Is this really time and effort well spent?
>
I'd just like to clarify that you and I are arguing the same point. I
used that non-reason intentionally, arguing that we don't want a trivial
feature, we're talking about the major deprecation of an entire version
of a language.
I picked a far-fetched, very bleeding edge version (and a feature in it
that matched, sorry, been doing a lot of Python lately) to counter
Peter's point that we didn't want to support bleeding-edge stuff "just
because."
Sorry if I didn't articulate this point well.
>>> So do we think it's reasonable to drop support for Python2 for the
>>> release that comes out after Python2's EOL, or do we insist on 2x3
>>> simultaneous support for years more?
>>
>> I don't have a strong opinion on Python in particular, but
>> I think it would be nicer to avoid the "python is a special
>> snowflake" effect.
>
> Lots of things are nice. Limited resources dictate we can only get some
> of them.
>
>> Would it really be so bad for it to just
>> be "drop it when it falls off the last LTS distro" like the
>> rest of our dependencies ?
>
> In my experience maintaining and evolving the QAPI generators,
> supporting both Python 2 and 3 is a constant distraction that adds up
> over time. It's all manual; we decided against adopting one of tool
> chains made for dealing with this mess. I'd rather think about how to
> solve real user problems like deprecation information or command line
> introspection than deal with Python 2 vs. 3 arcana.
>
> Just the other day, I flagged an innocent-looking simplification of some
> non-QAPI Python code that changed semantics subtly on Python 2, impact
> unknown. The developer did not know. The fact that I waste precious
> brain capacity on knowing this shit (pardon my French) is a bloody
> shame. Well, some of this shit, because I've screwed it up myself, too.
>
> The sooner we stop the bleeding, the better.
>
I agree, and it looks like we have consensus that because RHEL7 has
EPEL, we can drop Python 2 support. I think.
What wasn't made clear to me yet is in which version we may do so. I
think I suggested 4.2, and nobody agreed or disagreed with that point.
--js
next prev parent reply other threads:[~2019-06-04 15:52 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 19:24 [Qemu-devel] Deprecation policy and build dependencies Eduardo Habkost
2019-05-31 22:06 ` John Snow
2019-06-03 12:26 ` Markus Armbruster
2019-06-03 18:02 ` John Snow
2019-06-03 18:16 ` Cornelia Huck
2019-06-03 19:44 ` Eduardo Habkost
2019-06-04 7:14 ` Philippe Mathieu-Daudé
2019-06-03 18:17 ` Peter Maydell
2019-06-03 18:21 ` John Snow
2019-06-03 18:27 ` Peter Maydell
2019-06-03 18:38 ` John Snow
2019-06-04 5:31 ` Markus Armbruster
2019-06-04 15:51 ` John Snow [this message]
2019-06-04 5:26 ` Gerd Hoffmann
2019-06-05 15:50 ` Daniel P. Berrangé
2019-06-05 20:13 ` Eduardo Habkost
2019-06-05 20:42 ` Eric Blake
2019-06-05 20:49 ` Eduardo Habkost
2019-06-05 22:02 ` Eric Blake
2019-06-06 5:22 ` Markus Armbruster
2019-06-06 9:19 ` Daniel P. Berrangé
2019-06-05 15:44 ` Daniel P. Berrangé
2019-06-05 18:13 ` Eduardo Habkost
2019-06-06 9:23 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f52c29b-82e2-8970-5fe1-a56a77fc0830@redhat.com \
--to=jsnow@redhat.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).