ubuntu/debian alleged doc-building packages seems inaccurate
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 15 lines · Robert P. J. Day
here:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#ubuntu-and-debian
we are told:
Here are the packages needed to build Project documentation manuals:
sudo apt install git librsvg2-bin locales make python3-saneyaml
python3-pip python3-venvi've been building HTML docs all this time on my debian 13 system, without:
Quoted 7 lines
- python3-pip
- python3-saneyaml
- python3-venvalso (as should be obvious), i refuse to install python3 packages via "pip", choosing instead to install then as debian python3-* packages. so far, it's working out fine.
after a few minutes of research, here are my observations on what
packages are required to build docs on my debian 13 (and, no, i'm not sure about any underlying subtleties so i'm not submitting a patch).
first, so far, i have avoided the use of "pip" entirely, preferring
instead to install python3-* packages. from what i read, the preferred approach is to install debian packages globally, while preferring to use "pip3" exclusively inside a venv environment. i'm not going to comment on that either way, just saying that i've managed to avoid even *installing* python3-pip3 on this debian 13 system.
as for packages i don't seem to need, as above:
- python3-pip
- python3-saneyaml
- python3-venv
also, installing the debian package python3-sphinxcontrib.svg2pdfconverter already pulls in the dependency librsvg2-bin, so that does not need to be listed explicitly.
finally, i have not installed python3-websockets, and i can build
the HTML docs just fine.
if someone wants to do anything with any of that, have at it.
rday
Hi Robert,
Quoted 17 lines · Robert P. J. Day via lists.yoctoproject.org
Quoted 15 lines · Robert P. J. Day
here:
https://docs.yoctoproject.org/ref-manual/system-requirements.html#ubuntu-and-debian
we are told:
Here are the packages needed to build Project documentation manuals:
sudo apt install git librsvg2-bin locales make python3-saneyaml
python3-pip python3-venvi've been building HTML docs all this time on my debian 13 system, without:
Quoted 6 lines
Quoted 6 lines
- python3-pip
- python3-saneyaml
- python3-venvalso (as should be obvious), i refuse to install python3 packages via "pip", choosing instead to install then as debian python3-*
Why?
Quoted 15 lines
Quoted 1 line
packages. so far, it's working out fine.
after a few minutes of research, here are my observations on what
packages are required to build docs on my debian 13 (and, no, i'm not sure about any underlying subtleties so i'm not submitting a patch).first, so far, i have avoided the use of "pip" entirely, preferring
instead to install python3-* packages. from what i read, the preferred approach is to install debian packages globally, while preferring to use "pip3" exclusively inside a venv environment. i'm not going to comment on that either way, just saying that i've managed to avoid even *installing* python3-pip3 on this debian 13 system.as for packages i don't seem to need, as above:
Quoted 8 lines
- python3-pip
- python3-saneyaml
- python3-venvalso, installing the debian package python3-sphinxcontrib.svg2pdfconverter already pulls in the dependency librsvg2-bin, so that does not need to be listed explicitly.
Did you look at the version of packages we are installing in the venv?
We explicitly require svg2pdfconverter >= 2.0.0, which Trixie does not have. Why this version? Because it's the first that supports converting an SVG to a PNG, which we use for building Epubs.
Quoted 3 lines
finally, i have not installed python3-websockets, and i can build
the HTML docs just fine.
Where do we say you need to install python3-websockets for building the docs?
Cheers,
Quentin