scripts: sphinx-pre-install: place a warning for Sphinx >= 3.0
authorMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 2 Jul 2022 10:11:29 +0000 (11:11 +0100)
committerJonathan Corbet <corbet@lwn.net>
Thu, 7 Jul 2022 18:47:34 +0000 (12:47 -0600)
commit02bba8ca90b1877ae47400c31002ceb498b0dd9f
treebf10a18564bdc598c376163acfa0cf2906f6b7cc
parent6a5d7320fb75af071cde628e82ebc938575a2fd6
scripts: sphinx-pre-install: place a warning for Sphinx >= 3.0

Newer versions of Sphinx have a known bug:
https://github.com/sphinx-doc/sphinx/pull/8313

Those currently produces 11 false-positive warnings On Sphinx
version 3.1+.

While Sphinx fix is not applied, let's warn adventurers that would
be using Sphinx installed via distro packages.

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/085e0ada65c11da9303d07e70c510dc45f21315b.1656756450.git.mchehab@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/sphinx-pre-install