Idk if I get a vote, but +1

CentOS with 'elrepo' installed is capable of pulling the latest 3.4 release, 
and Sphinx should work for anything between 3.4.1 and 3.6.x.

Be careful about building with 3.7, syntax highlighting doesn't work because 
Pygments does things it shouldn't do that were discouraged in previous 
versions, but actually throw RuntimeErrors in 3.7

________________________________
From: Leif Hedstrom <zw...@apache.org>
Sent: Monday, October 8, 2018 5:49:08 PM
To: dev
Subject: [EXTERNAL] Re: Python 2.7 EOL and Sphinx documentation.



> On Oct 8, 2018, at 5:01 PM, Alan Carroll <solidwallofc...@oath.com.INVALID> 
> wrote:
>
> I've been working with the doc build recently and I think I would like to
> change the 'sbuild' logic to just directly call python, e.g. 'python3 -m
> sphinx' which I have been using in testing for various reasons and I like
> it, primarily because the lack of dependency on /usr/bin/sbuild means
> Sphinx can be installed purely via 'pip install --user' which gets around a
> number of local system dependencies. I think getting this is worth forcing
> documentation building to require Python 3, in light of the 2.7 EOL in the
> not all that distant future.


Yeh, I have no problem with this. The docs sites are built on CentOS7 though, 
so make sure that the Python3 is sufficiently new there.

— Leif

root@jenkins 323/1 # python3 --version
Python 3.4.8

Reply via email to