Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp640261ybm; Wed, 22 May 2019 09:06:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMlFbODvrhiDeGKgfi5r48i+HGZv/ee1oIdoOO+rdctWt4e6Z/edXK/VNg9sI69OOOO6b6 X-Received: by 2002:a62:1483:: with SMTP id 125mr67219584pfu.137.1558541176129; Wed, 22 May 2019 09:06:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558541176; cv=none; d=google.com; s=arc-20160816; b=LHze/9JBvdbqpLvaP3IcNBZaEO1kUUaoRayI2L/91H92mhnt0Ea3g3PIiiYGj6x2SK D2cDJHSeu3jD6S78KHMr4zUC5nGrR5YSuKrUcsr+eViG6Dw5rDEAP7+SkrpCZR07hWAf h0IFJyF51gPIuJmmMwGBbbXq94VpAcDa0/s4sjKok+Xqk1/IY6FMfqfJ2ZiBMS01E/2q /fQX64mWzdND6VC0j5WEtx+pPnH6iKDMWyW9m8fMCY3EjTLArDkziO5BumzNT6SgiBA5 OBMTcVPt1etE2jIb5QdKMddPRMrmhCFyRT+y8n0D7Cy7k83VUGWpfqECkiZk4mzu1kBe 3Txw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=QRMlBTzg/wPc6H30GKyU4T0Dz4IABEqiLo1Mo/8ui3A=; b=iLMBmBhb115xfM5dwsV4OqgxzaDbQ8OPQlQauPjhPF8QYlI3IBb+r8JBneRib4WVdG Usy0DNrTDNHLdBwXCcvlywmqsmcVZV41WE7+BJAr/i+LToigKoYmoNOuA8ybm73H6/xs dGpF7PgvQwebmxuq1qbPDbaes117qDGMIuEs32FGR+vDiMhA92d89Ggn6/xhpYvuXcDe jMWUt7BQAMspPGu9pTOearO/e1HrwRk1bG6ZVFmfyF8h3a4jKdhAGMXH0y0Y4DmStPye YBM9WdcTV7BY5Nsooo2B7KXD7D/FxX9DuVid4NmzrQvH/W83Kov4EH9M2FQ/EGjYpEMo nDvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=I1sjJdFs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si5813397pgl.419.2019.05.22.09.05.56; Wed, 22 May 2019 09:06:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=I1sjJdFs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729780AbfEVQET (ORCPT + 99 others); Wed, 22 May 2019 12:04:19 -0400 Received: from casper.infradead.org ([85.118.1.10]:54394 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728466AbfEVQET (ORCPT ); Wed, 22 May 2019 12:04:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=QRMlBTzg/wPc6H30GKyU4T0Dz4IABEqiLo1Mo/8ui3A=; b=I1sjJdFshzjkinDQ/kTE2Doovw 2g2XuMiGvdkQD/R++KBuVA2RXOINTa8QvuD9JW4tV4eCAk2on8Ow78/4wcfBKPBYJP+oenBPIw5Zm tWVPEkEWHMYDJLBrSR1E6OAsPjVNDnOG0WH+UDmgnqBqaSxuB9yrOnz0p7WiRSW1bwqQVqV3qvUcQ jQJ7C2YraRVyH5r2ZrdLi62xVOsAR7Gu4Z/4giZDRKa1Elrx0IabUixnsq95DCdcafysFEicWZMz5 GpaVjxK9yOIXIKHTuY0wEKeBvegAlx8rYSMs0OCje7dFr2ZX8lXYH4ytGAdJWHULjoBnWm6vRUqcL Pw77RCtA==; Received: from [179.182.168.126] (helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTTiv-0002U0-Pe; Wed, 22 May 2019 16:04:14 +0000 Date: Wed, 22 May 2019 13:04:08 -0300 From: Mauro Carvalho Chehab To: Jonathan Corbet Cc: Markus Heiser , Jani Nikula , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC 0/2] docs: Deal with some Sphinx deprecation warnings Message-ID: <20190522130408.5d8258de@coco.lan> In-Reply-To: <20190522094559.5ed8021e@lwn.net> References: <20190521211714.1395-1-corbet@lwn.net> <87d0kb7xf6.fsf@intel.com> <20190522071909.050bb227@coco.lan> <39b12927-9bf9-a304-4108-8f471a204f89@darmarit.de> <20190522094559.5ed8021e@lwn.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 22 May 2019 09:45:59 -0600 Jonathan Corbet escreveu: > On Wed, 22 May 2019 15:25:36 +0200 > Markus Heiser wrote: > > > Lets use 1.7 : > > > > - no need for Use_SSI wrapper > > - new log should work with 1.7 [1] --> no need for kernellog.py and > > additional imports, instead include on top of python modules :: > > > > from sphinx.util import logging > > logger = logging.getLogger('kerneldoc') > > I think we're going to have to drag things forward at some point in the > not-too-distant future, but I think I'd rather not do that quite yet. The > cost of supporting older sphinx for a few releases while we warn people is > not all that high. So I think we should: > > - Put in (a future version of) my hacks for now, plus whatever else might > be needed to make 2.0 work right. > > - Fix the fallout with regard to out-of-toctree .rst files so that we can > actually build again with current sphinx. > > - Update Documentation/sphinx/requirements.txt to ask for something a wee > bit more recent than 1.4.9. You should remember to also update conf.py (with currently points to 1.3): # If your documentation needs a minimal Sphinx version, state it here. needs_sphinx = '1.3' Also, if you touch there, you should also touch: ./scripts/sphinx-pre-install The change there won't be as trivial as just changing this line: $virtenv_dir = "sphinx_1.4"; as the script should now run sphinx-build --version, in order to check if the version is lower than the new minimal version. It probably makes sense to make it grep the version from needs_sphinx at conf.py. > - Add a warning when building with an older version that (say) 1.7 will > be required as of (say) 5.5. It probably makes sense to add such check at the pre-install script, and add a: SPHINXOPTS="-jauto" somewhere if version is 1.7 or upper. > > Does this make sense? It makes sense to me. Thanks, Mauro