Re: [PATCH] docs: drop the version constraints for sphinx and dependencies

From: Jonathan Corbet
Date: Wed Feb 28 2024 - 17:16:19 EST


Lukas Bulwahn <lukas.bulwahn@xxxxxxxxx> writes:

> This change seems to work for my setup, but I have really only dipped my
> toes into the waters of this sphinx-pre-install script.
>
> I only dropped the version constraints, but possibly one can even drop
> some of the packages in the requirements.txt, as they are pulled in
> automatically by Sphinx dependencies.

That's a cleanup we can do at any time, I guess. I note that not all of
them get pulled in correctly, though; after installing 7.2.6 with pip, I
still had to get pyyaml separately before it would work.

> So, I am happy to get your feedback, but I am well aware about its
> potential to be improved and the lack of my deep knowledge about the
> script. I hope, though, you can test it in your setup and confirm if
> it works as expected and then we can discuss the details (e.g.,
> naming).

I think this is the direction we need to go. We can add a separate
requirements file for successful installation of 2.4.x later if that's
really needed. Unless I hear screams, my plan is to apply this.

Thanks,

jon