Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp697252ybm; Wed, 22 May 2019 10:00:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzbVt3dloz3fHcNriJWFLhmPP3UQ7XZ/f/eFe0tXinX289WN26iDGt/brsISJIpdhLCUjZ X-Received: by 2002:a62:ae05:: with SMTP id q5mr95184059pff.13.1558544430465; Wed, 22 May 2019 10:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558544430; cv=none; d=google.com; s=arc-20160816; b=Q+1XUGUsbusKC8HF45T+CEDNRxvnYrNC+O/+IHQ/WaGyuXRdC0WXTrLdYciL7msCOF mrM1mSn0mGyQ9nGiic+3AXGYEhgVk7Mk0SjTaVi2Pdyc0ZP1vYaEzlwuuJuX5HycMhuP SH9NSzhnSkDu1gH7z3Or9wYOz8LT2gF85vTQ/yntm3zofqBJQ8IkIsJHXRahIuXoQ8et ndG1fjOmKZvNqJz0DbnCngnFvmKDmNfLNaECdVou3ZOl1g/Ugtb0JzyiU0W9SWS5nfff KEDbjs8Zkwfa1Kow1nxLFgpGB6FGX0hgj4d+q92FhpXb88YPSVkUnNA08kSarVfHiEBv cp2Q== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=CbYMYFf5QWqH+c6pbgXyemHi16nkaO9vVifDv5SPXi8=; b=M3Z0JVytYug6hzjg8yiyYuyPhSejwc5bnHbNtLQGUZBOj8AL+tXhnyJt1D0hbOK1FY WI+s+uFo5h+Nr9PVhPCS2JZQLCE5BX3TTf+6VwY+u8XesAsx7x7J3c6Uu/gRd/VxWXHz nRsNPTa2RqQ2cMmPgY/zEyAGJ/dE5CmfZ9WRjJost7beBDzD7PdZUhpDujjWbRu6odrr Pm+q1+KzKz3lfK89chiu3c0gJDy74XwzvTgkzZWNrVpF/0i6aL8dxbPOQihtWABlcy8w pd7TdXwUDgnbYIt9zMt7fAmxyei0Tdv8TWtEhroUu72/8AISyP+J6FhqR3Pf96bYq0N+ lcHQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si17094206pgh.580.2019.05.22.10.00.14; Wed, 22 May 2019 10:00:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729717AbfEVPqB (ORCPT + 99 others); Wed, 22 May 2019 11:46:01 -0400 Received: from ms.lwn.net ([45.79.88.28]:48146 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729402AbfEVPqB (ORCPT ); Wed, 22 May 2019 11:46:01 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 722726EC; Wed, 22 May 2019 15:46:00 +0000 (UTC) Date: Wed, 22 May 2019 09:45:59 -0600 From: Jonathan Corbet To: Markus Heiser Cc: Mauro Carvalho Chehab , 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: <20190522094559.5ed8021e@lwn.net> In-Reply-To: <39b12927-9bf9-a304-4108-8f471a204f89@darmarit.de> References: <20190521211714.1395-1-corbet@lwn.net> <87d0kb7xf6.fsf@intel.com> <20190522071909.050bb227@coco.lan> <39b12927-9bf9-a304-4108-8f471a204f89@darmarit.de> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. - Add a warning when building with an older version that (say) 1.7 will be required as of (say) 5.5. Does this make sense? Thanks, jon