[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57be9f77-9a94-4cde-aacb-184cae111506@gmail.com>
Date: Fri, 27 Jun 2025 17:37:16 +0900
From: Akira Yokosawa <akiyks@...il.com>
To: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
Cc: Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Jonathan Corbet <corbet@....net>, Donald Hunter <donald.hunter@...il.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH v8 13/13] docs: parser_yaml.py: fix backward compatibility
with old docutils
[Dropping most CCs, +CC: Matthew]
Hi Mauro,
On Fri, 27 Jun 2025 08:48:14 +0200, Mauro Carvalho Chehab wrote:
> Hi Akira,
>
> Em Fri, 27 Jun 2025 08:59:16 +0900
> Akira Yokosawa <akiyks@...il.com> escreveu:
[...]
>>
>> opensuse/leap:15.6's Sphinx 4.2.0 has docutils 0.16 with it, but it is
>> python 3.6 base and it does't work with the ynl integration.
>> As opensuse/leap:15.6 provides Sphinx 7.2.6 (on top of python 3.11) as
>> an alternative, obsoleting it should be acceptable.
>
> Thank you for the tests! At changes.rst we updated the minimum
> python requirement to:
>
> Python (optional) 3.9.x python3 --version
>
> So, I guess we can keep this way.
>
> The 3.9 requirement reflects the needs of most scripts. Still, for doc build,
> the min requirement was to support f-string, so Python 3.6.
>
Sorry, I was barking up the wrong tree.
An example of messages from opensuse/leap:15.6's Sphinx looks like this:
WARNING: kernel-doc './scripts/kernel-doc.py -rst -enable-lineno -export ./fs/pstore/blk.c' processing failed with: AttributeError("'str' object has no attribute 'removesuffix'",)
The "removesuffix" is already there in scripts/lib/kdoc/kdoc_parser.py at
current docs-next. It was added by commit 27ad33b6b349 ("kernel-doc: Fix
symbol matching for dropped suffixes") submitted by Matthew.
But I have to ask, do we really want the compatibility with python <3.9
restored?
Thanks, Akira
Powered by blists - more mailing lists