Skip to content

python3: fix run-time dependencies

Bartosz Golaszewski openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20python3-async: add missing run-time dependenciesmeta/recipes-devtools/python/python-async.inc+4 -12 replies
2/20python3-attrs: unify RDEPENDSmeta/recipes-devtools/python/python3-attrs_23.1.0.bb+1 -50 replies
3/20python3-attrs: don't use PYTHON_PNmeta/recipes-devtools/python/python3-attrs_23.1.0.bb+4 -40 replies
4/20python3-attrs: add missing run-time dependenciesmeta/recipes-devtools/python/python3-attrs_23.1.0.bb+1 -00 replies
5/20python3-certifi: add missing run-time dependenciesmeta/recipes-devtools/python/python3-certifi_2022.12.7.bb+2 -00 replies
6/20python3-libfdt: new packagemeta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb+20 -05 replies
7/20python3-dtschema: add missing run-time dependenciesmeta/recipes-devtools/python/python3-dtschema_2023.4.bb+6 -10 replies
8/20python3-hypothesis: fix run-time dependenciesmeta/recipes-devtools/python/python3-hypothesis_6.71.0.bb+1 -10 replies
9/20python3-tomli: add missing run-time dependenciesmeta/recipes-devtools/python/python3-tomli_2.0.1.bb+5 -00 replies
10/20python3-pathspec: add missing run-time dependenciesmeta/recipes-devtools/python/python3-pathspec_0.11.1.bb+2 -00 replies
11/20python3-installer: add missing run-time dependenciesmeta/recipes-devtools/python/python3-installer_0.7.0.bb+6 -00 replies
12/20python3-sphinx-rtd-theme: add missing run-time dependenciesmeta/recipes-devtools/python/python3-sphinx-rtd-theme_1.2.0.bb+4 -10 replies
13/20python3-setuptools-rust: fix RDEPENDS and allow target buildmeta/recipes-devtools/python/python3-setuptools-rust_1.5.2.bb+10 -70 replies
14/20python3-pyproject-hooks: add missing run-time dependenciesmeta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb+4 -10 replies
15/20python3-pycryptodome: don't use PYTHON_PNmeta/recipes-devtools/python/python-pycryptodome.inc+3 -30 replies
16/20python3-pycryptodome: add missing run-time dependenciesmeta/recipes-devtools/python/python-pycryptodome.inc+2 -00 replies
17/20python3-pygobject: add missing run-time dependenciesmeta/recipes-devtools/python/python3-pygobject_3.44.1.bb+4 -10 replies
18/20python3-manifest: cgitb: new packagemeta/recipes-devtools/python/python3/python3-manifest.json+17 -00 replies
19/20python3-manifest: zipapp: new packagemeta/recipes-devtools/python/python3/python3-manifest.json+13 -00 replies
20/20python3-manifest: turtle: new packagemeta/recipes-devtools/python/python3/python3-manifest.json+12 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [OE-core][PATCH 00/20] python3: fix run-time dependencies

From: Bartosz Golaszewski <[email protected]>

I noticed that every now and then I import some python package into an image only to find out the recipe didn't pull in all required run-time dependencies. I would fix it whenever I noticed it but figured that I could right a script that would go over all python packages, build a minimal image and see that all its modules can be imported.

The patches in this series are the result of that. Most simply add missing RDEPENDS, some are additional tweaks to recipes and the last three add new standard library packages to the manifest. These are the ones for which simply adding python3-misc would still be insufficient in terms of run-time dependencies.

I plan to do the same for meta-python but this will take more time and I need to think of some automated way of updating the recipes first.

Bartosz Golaszewski (20):
python3-async: add missing run-time dependencies
python3-attrs: unify RDEPENDS
python3-attrs: don't use PYTHON_PN
python3-attrs: add missing run-time dependencies
python3-certifi: add missing run-time dependencies
python3-libfdt: new package
python3-dtschema: add missing run-time dependencies
python3-hypothesis: fix run-time dependencies
python3-tomli: add missing run-time dependencies
python3-pathspec: add missing run-time dependencies
python3-installer: add missing run-time dependencies
python3-sphinx-rtd-theme: add missing run-time dependencies
python3-setuptools-rust: fix RDEPENDS and allow target build
python3-pyproject-hooks: add missing run-time dependencies
python3-pycryptodome: don't use PYTHON_PN
python3-pycryptodome: add missing run-time dependencies
python3-pygobject: add missing run-time dependencies
python3-manifest: cgitb: new package
python3-manifest: zipapp: new package
python3-manifest: turtle: new package

 meta/recipes-devtools/python/python-async.inc |  5 ++-
 .../python/python-pycryptodome.inc            |  8 ++--
 .../python/python3-attrs_23.1.0.bb            | 15 +++----
 .../python/python3-certifi_2022.12.7.bb       |  2 +
 .../python/python3-dtschema_2023.4.bb         |  7 +++-
 .../python/python3-hypothesis_6.71.0.bb       |  2 +-
 .../python/python3-installer_0.7.0.bb         |  6 +++
 .../python/python3-libfdt_1.7.0.post1.bb      | 20 +++++++++
 .../python/python3-pathspec_0.11.1.bb         |  2 +
 .../python/python3-pygobject_3.44.1.bb        |  5 ++-
 .../python/python3-pyproject-hooks_1.0.0.bb   |  5 ++-
 .../python/python3-setuptools-rust_1.5.2.bb   | 17 ++++----
 .../python/python3-sphinx-rtd-theme_1.2.0.bb  |  5 ++-
 .../python/python3-tomli_2.0.1.bb             |  5 +++
 .../python/python3/python3-manifest.json      | 42 +++++++++++++++++++
 15 files changed, 121 insertions(+), 25 deletions(-)
 create mode 100644 meta/recipes-devtools/python/python3-libfdt_1.7.0.post1.bb
Signature · 1 line
2.39.2