From: John Snow <jsnow@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
Peter Maydell <peter.maydell@linaro.org>,
Markus Armbruster <armbru@redhat.com>,
Michael Roth <michael.roth@amd.com>
Subject: Re: [PATCH 1/2] Python: bump minimum sphinx version to 3.4.3
Date: Wed, 3 Jul 2024 11:24:57 -0400 [thread overview]
Message-ID: <CAFn=p-atW1AiW8gX6nUm0DzhG4Qrf8A++vArJQhyUo2bTyPqtg@mail.gmail.com> (raw)
In-Reply-To: <CABgObfZik_bKuZffohNO1fMss+81kTzaHPEHSPu6H2MCoJVZ=w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1822 bytes --]
On Wed, Jul 3, 2024 at 8:12 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> On Wed, Jul 3, 2024 at 2:06 PM John Snow <jsnow@redhat.com> wrote:
> > On Wed, Jul 3, 2024, 4:00 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
> >> On 7/2/24 21:59, John Snow wrote:
> >> > With RHEL 8 support retired (It's been two years today since RHEL 9
> >> > came out), our very oldest build platform version of Sphinx is now
> >> > 3.4.3; and keeping backwards compatibility for versions as old as v1.6
> >> > when using domain extensions is a lot of work we don't need to do.
> >>
> >> Technically that's unrelated: thanks to your venv work, :) builds on
> >> RHEL 8 / CentOS Stream 8 do not pick the platform Sphinx, because it
> >> runs under Python 3.6. Therefore the version included in RHEL 8 does
> >> not matter for picking the minimum supported Sphinx version.
> >
> > I think I can't mandate 4.x because of RHEL 9 builds though, and offline
> requirements.
>
> Offline requirements are not a problem; on RHEL 8 you just have to
> install with pip in order to build docs offline. But yes, RHEL 9 is
> still using platform Python and therefore 3.4.3 remains the limit even
> after we stop supporting bullseye.
>
To be clear I mean offline, isolated RPM builds under RHEL9 where I don't
think we can utilize PyPI at all; and vendoring Sphinx is I think not a
practical option due to the number of dependencies and non-pure Python deps.
It's not a problem for developer workflow, just downstream packaging.
Luckily OpenSUSE offers newer Sphinx, but RHEL doesn't yet. Maybe that can
be rectified eventually - possibly after 3.8 is EOL and there is increased
demand for newer Python packages to be made available in RHEL... but not
yet, today.
>
> Paolo
>
>
Thanks for the ack O:-)
[-- Attachment #2: Type: text/html, Size: 2632 bytes --]
next prev parent reply other threads:[~2024-07-03 15:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 19:59 [PATCH 0/2] docs/python: bump minimum Sphinx version John Snow
2024-07-02 19:59 ` [PATCH 1/2] Python: bump minimum sphinx version to 3.4.3 John Snow
2024-07-03 8:00 ` Paolo Bonzini
2024-07-03 12:06 ` John Snow
2024-07-03 12:12 ` Paolo Bonzini
2024-07-03 15:24 ` John Snow [this message]
2024-07-03 16:07 ` Paolo Bonzini
2024-07-02 19:59 ` [PATCH 2/2] docs: remove Sphinx 1.x compatibility code John Snow
2024-07-02 20:01 ` [PATCH 0/2] docs/python: bump minimum Sphinx version John Snow
2024-07-03 5:13 ` Markus Armbruster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFn=p-atW1AiW8gX6nUm0DzhG4Qrf8A++vArJQhyUo2bTyPqtg@mail.gmail.com' \
--to=jsnow@redhat.com \
--cc=armbru@redhat.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).