[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZZP4x7oSbLdugeDL@gmail.com>
Date: Tue, 2 Jan 2024 03:51:35 -0800
From: Breno Leitao <leitao@...ian.org>
To: Simon Horman <horms@...nel.org>, vegard.nossum@...cle.com
Cc: Vegard Nossum <vegard.nossum@...cle.com>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>,
Jonathan Corbet <corbet@....net>
Subject: Re: [PATCH net-next] Documentation: add pyyaml to requirements.txt
Hello Vegard,
On Fri, Dec 22, 2023 at 02:36:28PM +0100, Vegard Nossum wrote:
> Commit f061c9f7d058 ("Documentation: Document each netlink family") added
> a new Python script that is invoked during 'make htmldocs' and which reads
> the netlink YAML spec files.
>
> Using the virtualenv from scripts/sphinx-pre-install, we get this new
> error wen running 'make htmldocs':
The commit doesn't depend on sphinx. This is a standalone script now.
The requirements file is at tools/net/ynl/requirements.txt not in sphinx
> Note: This was somehow present in the original patch submission:
> <https://lore.kernel.org/all/20231103135622.250314-1-leitao@debian.org/>
> I'm not sure why the pyyaml requirement disappeared in the meantime.
It disapperared because the original patch version was a sphinx module,
thus, pyaml was not at sphinx dependency.
In the commit final form, the script is a standalone script inside
'tools/net/ynl', and PyYAML is already tracked in
`tools/net/ynl/requirements.txt`.
That said, can you try to install `tools/net/ynl/requirements.txt` and
see if you are able to reproduce the problem?
Powered by blists - more mailing lists