]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools/docs: python_version: move version check from sphinx-pre-install
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Sep 2025 11:54:44 +0000 (13:54 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Sep 2025 17:17:19 +0000 (11:17 -0600)
commitadf9dc2592aad3e66b09cb412e60337477bafb0d
tree95d6b99e1eb4812fb7dcf4a24b57868978269a17
parent3f835cb123c30c1a60fa6e0ebbcda919d66fc142
tools/docs: python_version: move version check from sphinx-pre-install

The sphinx-pre-install code has some logic to deal with Python
version, which ensures that a minimal version will be enforced
for documentation build logic.

Move it to a separate library to allow re-using its code.

No functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Message-ID: <d134ace64b55c827565ce68f0527e20c735f0d2e.1758196090.git.mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
tools/docs/lib/python_version.py [new file with mode: 0644]
tools/docs/sphinx-pre-install