Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp267479ybm; Wed, 22 May 2019 02:50:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYmf+VUnwDVC76EA+h/taYMDfAHnsmfoYuLLyPHTpzP6a3FVAPX/D98l6tSxPpGSps/s5t X-Received: by 2002:a63:484f:: with SMTP id x15mr18920285pgk.162.1558518630725; Wed, 22 May 2019 02:50:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558518630; cv=none; d=google.com; s=arc-20160816; b=rr3fthGRkmbm1ZIZR8Ud5N2q2VEzkeuyQdvnmCxdCKATJDPFEWZ9la7KsUZpCfAI1/ 6pu4k6ovxRRfLK9nRdUalATvPBDv3pTMkWg7JHy2qX3tx+gYuq8JNgJ89G5vi6oUnix/ uCddqWwNyzOy2FAg2liMB2MdHrriZUuYpg8o9uEUY535cy/H5oSrjiwT+M7iOxyBxWj2 RGvqRjAsOzY675hfqbNC7CvxY4zg/DNYMFZw4Zdy+qg97JOxR2+UJhyi/IzFZB0GLMCS 8zVD2fLrGdyY1zEBXqCkNDB/x9XtH46n74TUFytYpBX6anl266g0ZruSzrwgSF51Y2ge R8sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=scX4WfC5WsPnoLs+Nl/iwg3kKLZv9A3kLQMPNHZ+zvU=; b=pfeuq3vFF282p4ncXZDiahlEWbfn5kxN9hi0CVXZ3XwEHjrPw8WW5GrGloFneuYXWA 0IKVM/3pxcsJdeFxaD5FdvHSs8JwDBhX8Q2JpGVirM0xqKlGxWFkMRaCzLPfjq0hnbZ4 f1TMBISNVxBf8eM+lzI5US1ywEhyrSOOUZ2Fs1n5et65O6AnbHdikguk7lb8OrFQV9hX DCBRVm091r2APFghC5tgV11OXh1JQ2yGBf3mZBG/g9EygTbg3KIIIRbeWHb6ZMDGRXsR S2FT1y+xCkZvJNbXr4bD7dSMW2+z4zVqHIj0J8QgP4/4enkNZW/imiPY3bDpJj9u8Cke geJA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si24579413pgj.85.2019.05.22.02.50.14; Wed, 22 May 2019 02:50: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728677AbfEVJtI (ORCPT + 99 others); Wed, 22 May 2019 05:49:08 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:36855 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728406AbfEVJtI (ORCPT ); Wed, 22 May 2019 05:49:08 -0400 Received: by mail-wr1-f68.google.com with SMTP id s17so1531338wru.3 for ; Wed, 22 May 2019 02:49:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=scX4WfC5WsPnoLs+Nl/iwg3kKLZv9A3kLQMPNHZ+zvU=; b=D9t7J5WMl5BtIJzX5sDbvkC6eZsR9NzLFWWfp+MBz3aUfQ/Dy2mmKhyrhckvESuOvT EdJgpPYvkxfV228bagsZHJgjHIWZ8Nq1lpHznYK5pYHHv1dHTg4LsNeT7UGW85H4vkAb S4VvYZ1u3E4dXFfeLwgcp/26rgS1kTGAHWKyhhrHVOZJrTlJGtWCI4+K2Px2aV/Kfoo3 7WioxAkaKdKz5MgKx0WTLOc1uhUvhX/Td6BwjYFh02fc2EsSRd2EabB85RzEUNFSL5sk pb0tuwSK5ePduWbpsB6OtkQaFwDqFQkkAnpT57lcLDUjH8RV1eoZRWp9JjAenk2ZLlc7 R5Vg== X-Gm-Message-State: APjAAAW4asfCeom3mB8qFmj2xMUB326u4+kUR8HSAhnOill7F/iGcz16 qrzz+1So/l3EYja6R9APDcm/ZLPo1tR8AA== X-Received: by 2002:a5d:6849:: with SMTP id o9mr223972wrw.196.1558518546686; Wed, 22 May 2019 02:49:06 -0700 (PDT) Received: from localhost (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id u15sm44023094wru.16.2019.05.22.02.49.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 22 May 2019 02:49:06 -0700 (PDT) Date: Wed, 22 May 2019 11:49:05 +0200 From: Oleksandr Natalenko To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Jani Nikula , Markus Heiser , Mauro Carvalho Chehab Subject: Re: [PATCH RFC 0/2] docs: Deal with some Sphinx deprecation warnings Message-ID: <20190522094905.pjg3ldvvkndohryb@butterfly.localdomain> References: <20190521211714.1395-1-corbet@lwn.net> <20190522094354.mnolo6bh6yeiza5h@butterfly.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190522094354.mnolo6bh6yeiza5h@butterfly.localdomain> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 11:43:54AM +0200, Oleksandr Natalenko wrote: > On Tue, May 21, 2019 at 03:17:12PM -0600, Jonathan Corbet wrote: > > The Sphinx folks are deprecating some interfaces in the upcoming 2.0 > > release; one immediate result of that is a bunch of warnings that show up > > when building with 1.8. These two patches make those warnings go away, > > but at a cost: > > A minor correction, if I may and if I understand this correctly: 2.0 is > not an upcoming release, but a current one (2.0.1, to be precise), and > this means that in some distros (like, Arch [1]) `make htmldocs` is > already broken for quite some time. > > [1] https://bugs.archlinux.org/task/59688 ^^ this was the initial Bug for introducing the doc, but it got reverted in [2]. [2] https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/linux&id=cfe52e9aa8168d9571bedf8a376e2cfbd25223fd > > > > > - It introduces a couple of Sphinx version checks, which are always > > ugly, but the alternative would be to stop supporting versions > > before 1.7. For now, I think we can carry that cruft. > > > > - The second patch causes the build to fail horribly on newer > > Sphinx installations. The change to switch_source_input() seems > > to make the parser much more finicky, increasing warnings and > > eventually failing the build altogether. In particular, it will > > scream about problems in .rst files that are not included in the > > TOC tree at all. The complaints appear to be legitimate, but it's > > a bunch of stuff to clean up. > > > > I've tested these with 1.4 and 1.8, but not various versions in between. > > > > Jonathan Corbet (2): > > doc: Cope with Sphinx logging deprecations > > doc: Cope with the deprecation of AutoReporter > > > > Documentation/sphinx/kerneldoc.py | 48 ++++++++++++++++++++++++------- > > Documentation/sphinx/kernellog.py | 28 ++++++++++++++++++ > > Documentation/sphinx/kfigure.py | 38 +++++++++++++----------- > > 3 files changed, 87 insertions(+), 27 deletions(-) > > create mode 100644 Documentation/sphinx/kernellog.py > > > > -- > > 2.21.0 > > > > -- > Best regards, > Oleksandr Natalenko (post-factum) > Senior Software Maintenance Engineer -- Best regards, Oleksandr Natalenko (post-factum) Senior Software Maintenance Engineer