From: Tim Orling <ticotimo@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/2] python3-pyyaml fix libyaml detection and enable ptest
Date: Thu, 8 Feb 2024 18:18:54 -0800 [thread overview]
Message-ID: <cover.1707444824.git.tim.orling@konsulko.com> (raw)
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
--
2.34.1
next reply other threads:[~2024-02-09 2:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-09 2:18 Tim Orling [this message]
2024-02-09 2:18 ` [PATCH 1/2] python3-pyyaml: add PACKAGECONFIG for libyaml Tim Orling
2024-02-09 2:18 ` [PATCH 2/2] python3-pyyaml: enable ptest Tim Orling
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=cover.1707444824.git.tim.orling@konsulko.com \
--to=ticotimo@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/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