Skip to content

python3-pyyaml fix libyaml detection and enable ptest

Tim Orling openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2python3-pyyaml: add PACKAGECONFIG for libyamlmeta/recipes-devtools/python/python3-pyyaml_6.0.1.bb+3 -01 reply
2/2python3-pyyaml: enable ptestmeta/conf/distro/include/ptest-packagelists.inc meta/recipes-devtools/python/python3-pyyaml/run-ptest meta/recipes-devtools/python/python3-pyyaml_6.0.1.bb+21 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] python3-pyyaml fix libyaml detection and enable ptest

As pointed out by jdiez in #yocto IRC, python3-pyyaml will "helpfully" detect libyaml in the build environment and compile with Python bindings for the C library. This is non-deterministic and can result in host contamination (pulling in the host's libyaml). Add a PACKAGECONFIG to make compiling with the faster libyaml bindings as the default. Add very basic ptest to ensure the runtime is viable.

The following changes since commit 71ac318a830b37f55cbd63794c55c6adc1904f1f:

yocto-bsp: update reference boards to v6.6.15 (2024-02-08 23:15:18 +0000)

are available in the Git repository at:

https://git.yoctoproject.org/poky-contrib timo/python3-pyyaml-libyaml-ptest
https://git.yoctoproject.org/poky-contrib/log/?h=timo/python3-pyyaml-libyaml-ptest

Tim Orling (2):
python3-pyyaml: add PACKAGECONFIG for libyaml
python3-pyyaml: enable ptest

 .../distro/include/ptest-packagelists.inc     |  1 +
 .../python/python3-pyyaml/run-ptest           |  3 +++
 .../python/python3-pyyaml_6.0.1.bb            | 20 +++++++++++++++++++
 3 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyyaml/run-ptest
Signature · 1 line
2.34.1