qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Thomas Huth" <thuth@redhat.com>
Cc: qemu-trivial@nongnu.org, Eduardo Habkost <ehabkost@redhat.com>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH] qemu-deprecated: Remove text about Python 2
Date: Tue, 14 Jan 2020 10:53:06 -0500	[thread overview]
Message-ID: <f083e092-4e9f-bf0e-c824-6e2024047364@redhat.com> (raw)
In-Reply-To: <20200114102031.GE4071034@redhat.com>



On 1/14/20 5:20 AM, Daniel P. Berrangé wrote:
> On Tue, Jan 14, 2020 at 11:08:16AM +0100, Thomas Huth wrote:
>> On 13/01/2020 23.36, John Snow wrote:
>>>
>>>
>>> On 1/9/20 4:51 AM, Thomas Huth wrote:
>>>> Python 2 support has been removed, so we should now also remove
>>>> the announcement text for the deprecation.
>>>>
>>>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>>>
>>> Reviewed-by: John Snow <jsnow@redhat.com>
>>>
>>>> ---
>>>>  qemu-deprecated.texi | 8 --------
>>>>  1 file changed, 8 deletions(-)
>>>>
>>>> diff --git a/qemu-deprecated.texi b/qemu-deprecated.texi
>>>> index 7033e531de..8b23e98474 100644
>>>> --- a/qemu-deprecated.texi
>>>> +++ b/qemu-deprecated.texi
>>>> @@ -341,14 +341,6 @@ they have no effect when used with @option{-n} to skip image creation.
>>>>  Silently ignored options can be confusing, so this combination of
>>>>  options will be made an error in future versions.
>>>>  
>>>> -@section Build system
>>>> -
>>>> -@subsection Python 2 support (since 4.1.0)
>>>> -
>>>> -In the future, QEMU will require Python 3 to be available at
>>>> -build time.  Support for Python 2 in scripts shipped with QEMU
>>>> -is deprecated.
>>>> -
>>>>  @section Backwards compatibility
>>>>  
>>>>  @subsection Runnability guarantee of CPU models (since 4.1.0)
>>>>
>>>
>>> Genuine question, I'm sorry:
>>>
>>> Is it worth documenting things we recently removed?
>>
>> Basically yes. In case of Python 2, it's not a QEMU feature that we
>> remove here, but a build requirement, and we tell the users that we need
>> at least Python 3.5 when they run "configure", so I'm not sure whether
>> that needs to be explicitely mentioned again the docs beside our ChangeLog?
> 
> In general changed build pre-requisites such as new minimum software
> versions are documented in the release notes:
> 
>    https://wiki.qemu.org/ChangeLog/5.0#Build_Information
> 
> We normally would not list build pre-requisites in the deprecation notes
> at all, since they don't follow the deprecation process normally. We
> just update minimum versions immediately that our supported OS build
> platforms change due to an OS going end of life. So for example we
> have in the past bumped gnutls, glib, nettle, gcc, etc min versions
> with no warning.  So the fact that Python 2 was mentioned in the
> deprecations at all was slightly unusual. This is mostly just to be
> nice to users since the OS platforms here aren't going EOL and still
> ship Python 2, we simply don't wish to support it any more, since
> the distros also all have Py 3.
> 
> 
>>
>>> Right now, we don't
>>> really have these docs hosted in a searchable way online in a
>>> per-version format. Once the notice is gone, it's gone from the mirror.
>>>
>>> I removed some bitmap functionality not too long ago and I created a
>>> "Recently Removed" section as a bit of a troubleshooting guide should it
>>> be needed.
>>>
>>> - Do we want this section?
>>> - Should I remove it?
>>> - Can we add historical docs to the website to see previous deprecated
>>> docs in a searchable manner?
>>
>> I also once started a page in the Wiki here:
>>
>>  https://wiki.qemu.org/Features/RemovedFeatures
>>
>> ... but apparently, it did not get enough attention yet, otherwise you
>> would have noticed it before introducing the new chapter into the
>> qemu-doc ...
>>
>> We definitely need one spot where we can document removed features. I
>> don't mind which way we do it, either the qemu-doc or the wiki, but we
>> should unify on one of the two. I guess the qemu-doc is the better place
>> since we are tracking the deprecated features there already and one more
>> or less just has to move the text to the other chapter when things get
>> finally removed?
> 
> Yeah, I've said in the past that we should not be deleting deprecations
> from the docs entirely.
> 
> If you look at GTK docs for example, you'll see they keep a record of
> all incompatible or noteworth changes between release:
> 
>   https://developer.gnome.org/gtk3/stable/gtk-migrating-3-x-to-y.html
> 
> IMHO, we should follow this and have an appendix of removed features,
> with sub-sections per QEMU release listing each removed feature. Thus
> deprecation docs just get moved to this appendix at the right time.
> 
> Regards,
> Daniel
> 

Everything said makes sense to me. My review here stands, thanks! (Sorry
for the derail.)

--js



  reply	other threads:[~2020-01-14 15:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09  9:51 [PATCH] qemu-deprecated: Remove text about Python 2 Thomas Huth
2020-01-09 12:49 ` Aleksandar Markovic
2020-01-29 22:13   ` Philippe Mathieu-Daudé
2020-01-29 23:18     ` Aleksandar Markovic
2020-01-29 23:26       ` Philippe Mathieu-Daudé
2020-01-13 22:36 ` John Snow
2020-01-14 10:08   ` Thomas Huth
2020-01-14 10:20     ` Daniel P. Berrangé
2020-01-14 15:53       ` John Snow [this message]
2020-01-15 16:04       ` Markus Armbruster
2020-01-15 17:16         ` John Snow
2020-01-30 22:09           ` Philippe Mathieu-Daudé
2020-03-16 18:16             ` John Snow
2020-01-30 22:13 ` Philippe Mathieu-Daudé

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=f083e092-4e9f-bf0e-c824-6e2024047364@redhat.com \
    --to=jsnow@redhat.com \
    --cc=berrange@redhat.com \
    --cc=ehabkost@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=thuth@redhat.com \
    /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).