Re: [GIT PULL] Documentation for 6.8

From: Matthew Wilcox
Date: Fri Jan 12 2024 - 11:09:39 EST


On Sat, Jan 13, 2024 at 12:28:44AM +0900, Akira Yokosawa wrote:
> Official python 3.10 support was new to Sphinx 4.3.
> So, I guess reasonable version for recommending is Sphinx>=4.3.
>
> But at the same time, The latest Sphinx 7.2.6 works only with
> python>=3.9. If your base python3 is 3.8 (e.g. ubuntu 20.04),
> you can't have the latest one.

I don't know that I care about Ubuntu 20.04; that's almost 4 years old and
probably isn't being used by anyone who's building kernel documentation.

Oracle Linux 9 (2022) ships Python 3.9.14. It also appears to ship python
3.11.2 as an optional install. It doesn't seem to ship sphinx at all.
At least not that I can find from a quick rummage in the repositories.
The recommendation I'm finding is to use pip to install sphinx if you
need it.