public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <foss@0leil.net>, <docs@lists.yoctoproject.org>
Cc: "Quentin Schulz" <quentin.schulz@cherry.de>
Subject: Re: [docs] [PATCH v4 1/3] use a venv for installing packages with pip
Date: Wed, 18 Feb 2026 09:18:00 +0100	[thread overview]
Message-ID: <DGHXUDE510VH.1JG9S6P90SNTG@bootlin.com> (raw)
In-Reply-To: <20260216-fix-make-multi-target-v4-1-749e588cb7f5@cherry.de>

Hi,

On Mon Feb 16, 2026 at 12:26 PM CET, Quentin Schulz via lists.yoctoproject.org wrote:
[...]
> diff --git a/documentation/tools/host_packages_scripts/pip3_docs.sh b/documentation/tools/host_packages_scripts/pip3_docs.sh
> index 907ecec55..9aa7f16fb 100644
> --- a/documentation/tools/host_packages_scripts/pip3_docs.sh
> +++ b/documentation/tools/host_packages_scripts/pip3_docs.sh
> @@ -1 +1,3 @@
> -sudo pip3 install sphinx sphinx_rtd_theme pyyaml sphinx-copybutton
> +python3 -m venv --clear --system-site-packages /tmp/yocto-venv

I find /tmp a bit odd for installing a virtual environment (at least, from a
user perspective, as I can understand why you did this for the container).

Maybe you can add a comment above this line saying:

# change "/tmp/yocto-venv" to "./yocto-venv" if you want a persistent virtual environment

?

Also maybe, s/yocto-venv/yocto-docs-venv/?

Antonin


  reply	other threads:[~2026-02-18  8:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-16 11:26 [PATCH v4 0/3] migrate Debian/Ubuntu to pip packages for docs + fix epub and latexpdf targets not finding glob images Quentin Schulz
2026-02-16 11:26 ` [PATCH v4 1/3] use a venv for installing packages with pip Quentin Schulz
2026-02-18  8:18   ` Antonin Godard [this message]
2026-02-23 17:33     ` [docs] " Quentin Schulz
2026-02-24  8:28       ` Antonin Godard
2026-02-24 12:52         ` Quentin Schulz
2026-02-24 13:55           ` Quentin Schulz
2026-02-24 14:03             ` Antonin Godard
2026-02-16 11:26 ` [PATCH v4 2/3] consistently use pip packages for all distros Quentin Schulz
2026-02-16 11:26 ` [PATCH v4 3/3] convert SVGs to PDF and PNG using sphinxcontrib.rsvgconverter plugin Quentin Schulz
2026-02-16 14:26 ` [PATCH v4 0/3] migrate Debian/Ubuntu to pip packages for docs + fix epub and latexpdf targets not finding glob images Antonin Godard
2026-03-02  9:53 ` Antonin Godard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DGHXUDE510VH.1JG9S6P90SNTG@bootlin.com \
    --to=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=foss@0leil.net \
    --cc=quentin.schulz@cherry.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox