Em Wed, 05 Oct 2022 09:29:45 -0600 Jonathan Corbet <corbet@xxxxxxx> escreveu: > Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> writes: > > Also, when the container directive was introduced? Does it affect > > the minimal Sphinx version we support? It seems that this was old > > enough to not require any changes at the minimal version, but, > > from https://www.sphinx-doc.org/en/master/changes.html, it seems > > that LaTeX support for it was added only at Sphinx v4.1 on this PR: > > > > https://github.com/sphinx-doc/sphinx/pull/9166 > > > > So, we need to double-check if are there any changes before and after > > such version at the places container is used - or change the kerneldoc > > to only emit such tags on PDF depending on the Sphinx version. > > I've tested things as far back as 2.4.5, where all is well. I don't > currently have a machine that is capable of running earlier versions; > I'll need to conjure one of those up, I guess. > > (Either that or just bite the bullet and move the minimum version > forward!) I would just set 2.4.4 as the minimal version. This is already the minimal version for PDF output anyway: my $rec_version = "1.7.9"; # PDF won't build here my $min_pdf_version = "2.4.4"; # Min version where pdf builds and requirements.txt also sets to it. Yet, it would be nice to change requirements to 2.4.5 as the default pip-installed version. Regards, Mauro