[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250904071700.2e680548@foz.lan>
Date: Thu, 4 Sep 2025 07:18:01 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Jonathan Corbet <corbet@....net>, Linux Doc Mailing List
<linux-doc@...r.kernel.org>, Björn Roy Baron
<bjorn3_gh@...tonmail.com>, Alex Gaynor <alex.gaynor@...il.com>, Alice Ryhl
<aliceryhl@...gle.com>, Boqun Feng <boqun.feng@...il.com>, Gary Guo
<gary@...yguo.net>, Trevor Gross <tmgross@...ch.edu>,
linux-kernel@...r.kernel.org, rust-for-linux@...r.kernel.org
Subject: Re: [PATCH v2 3/3] tools/docs: sphinx-* break documentation bulds
on openSUSE
Em Wed, 3 Sep 2025 18:38:37 +0100
Matthew Wilcox <willy@...radead.org> escreveu:
> On Wed, Sep 03, 2025 at 06:24:16PM +0200, Mauro Carvalho Chehab wrote:
> > Before this patch, building htmldocs on opensuseLEAP works
> > fine:
> >
> > # make htmldocs
> > Available Python versions:
> > /usr/bin/python3.11
> >
> > Python 3.6.15 not supported. Changing to /usr/bin/python3.11
> > Python 3.6.15 not supported. Changing to /usr/bin/python3.11
>
> [...]
>
> > 1. after this change, sphinx-pre-install needs to be called
> > by hand:
> >
> > $ /usr/bin/python3.11 tools/docs/sphinx-pre-install
> > Detected OS: openSUSE Leap 15.6.
> > Sphinx version: 7.2.6
>
> I thought the preferred option was to be able to specify:
>
> PYTHON=/usr/bin/python3.11 make htmldocs
>
> or even make htmldocs PYTHON=/usr/bin/python3.11
>
> like being able to specify CC, LD or AWK.
This could be an option, but it is still half-broken - or at least
implementing it is not trivial - as spinx-pre-install is the
script which recommends what packages are needed on openSUSE Leap.
and on RHEL8 (and based) distros.
Internally, it needs to run sphinx-build --version to check if
Sphinx version is compatible with the build. So, adding support
for a PYTHON env is still half-broken after this series.
Thanks,
Mauro
Powered by blists - more mailing lists