[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1756913837.git.mchehab+huawei@kernel.org>
Date: Wed, 3 Sep 2025 17:44:33 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Jonathan Corbet <corbet@....net>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-kernel@...r.kernel.org
Subject: [PATCH RFC 0/3] Break building docs on distros where python3==python3.6 or older
Add two patches improving python_version logic, adding two extra
optional arguments: show_alternatives and bail_out.
The third patch changes the build behavior in a way that distros
shipped with Python 3.6 like openSUSE Leap, RHEL8 and others will
break.
Personally, I'm against such patch, but based on some discussions at:
https://lore.kernel.org/linux-doc/n4qixsp23dccgz6mtrmd2xumcngtphkbywjnxkrqpnuf2dbu2p@2sj44sbyga4j/T/#t
Several developers voiced that the best is to break the build.
So, I'll let up to the docs maintainer to decide weather or not
apply the final patch or replace by something that would avoid
such breakage.
This series is on top of the sphinx-build-wrapper patch:
https://lore.kernel.org/linux-doc/cover.1756740314.git.mchehab+huawei@kernel.org/
Mauro Carvalho Chehab (3):
tools/docs: python_version.py: drop a debug print
tools/docs: python_version: allow check for alternatives and bail out
tools/docs: sphinx-* break documentation bulds on openSUSE
tools/docs/lib/python_version.py | 33 +++++++++++++++++++++++---------
tools/docs/sphinx-pre-install | 2 +-
2 files changed, 25 insertions(+), 10 deletions(-)
--
2.51.0
Powered by blists - more mailing lists