Re: sphinx-build vs. Python 3

2018-08-21 Thread Mattia Rizzolo
On Tue, Aug 21, 2018 at 04:03:20PM +0300, Dmitry Shachnev wrote: > If you depend on python3-sphinx (>= 1.7.5-4~) then most likely the scripts > will be using Python 3. The opposite will happen only if the user manually > updated the alternative, and this won’t be the case on a sane build >

Re: sphinx-build vs. Python 3

2018-08-21 Thread Dmitry Shachnev
Hi Ondřej! On Mon, Aug 20, 2018 at 09:50:25AM +0200, Ondrej Novy wrote: > Hi, > > I have question about sphinx-build and our effort to move to Python 3. > > sphinx-build is currently Python 2 or Python 3 according to python-sphinx / > python3-sphinx package installed (with python3 as default if

Re: sphinx-build vs. Python 3

2018-08-21 Thread Ondrej Novy
Hi, út 21. 8. 2018 v 12:37 odesílatel Thomas Goirand napsal: > On top of this, I generally also do PYTHON=python3, just in case the > Sphinx doc needs to invoke the interpreter... > i don't think this is good idea. If Sphinx doc needs to invoke interpreter, it should do it in more smart way.

Re: sphinx-build vs. Python 3

2018-08-21 Thread Ondrej Novy
Hi, po 20. 8. 2018 v 12:37 odesílatel Thomas Goirand napsal: > If you do the later, then anyway, you'll have to do the former if you > need backports. This bite me a few times with OpenStack already. So, no > mater what the faith of the sphinx-build command, it's always best to > use python3 -m

Re: sphinx-build vs. Python 3

2018-08-20 Thread Thomas Goirand
On 08/20/2018 09:50 AM, Ondrej Novy wrote: > Hi, > > I have question about sphinx-build and our effort to move to Python 3. > > sphinx-build is currently Python 2 or Python 3 according to > python-sphinx / python3-sphinx package installed (with python3 as > default if both are installed by