Files
linux-stable-mirror/scripts
Mauro Carvalho Chehab 7740f9dbe2 docs: kernel-doc: emit warnings for ancient versions of Python
Kernel-doc requires at least version 3.6 to run, as it uses f-string.
Yet, Kernel build currently calls kernel-doc with -none on some places.
Better not to bail out when older versions are found.

Versions of Python prior to 3.7 do not guarantee to remember the insertion
order of dicts; since kernel-doc depends on that guarantee, running with
such older versions could result in output with reordered sections.

Check Python version when called via command line.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/7d7fa3a3aa1fafa0cc9ea29c889de4c7d377dca6.1752218291.git.mchehab+huawei@kernel.org
2025-07-17 15:29:53 -06:00
..
2024-10-07 02:12:27 +09:00
2025-06-06 05:40:25 +09:00
2024-11-28 08:11:56 +09:00
2025-05-11 17:54:10 -07:00
2025-02-12 12:12:28 +01:00