* [PATCH] python3-pyopenssl: enable ptest
@ 2026-08-20 4:28 Babanpreet Singh
0 siblings, 0 replies; only message in thread
From: Babanpreet Singh @ 2026-08-20 4:28 UTC (permalink / raw)
To: openembedded-core; +Cc: Tim Orling, Randy MacLeod, Babanpreet Singh
* Do not install pyproject.toml into ${PTEST_PATH}: it sets
--strict-markers, which fails collection on the pytest.mark.flaky
tests because pytest-rerunfailures is not in oe-core.
* 432 test cases pass with no failures.
[YOCTO #16391]
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
Tested with testimage on core-image-ptest-python3-pyopenssl, qemux86-64:
432 passed, 0 failed, 0 skipped, 118s under TCG (no KVM on the build
host; the suite takes 11s natively, hence PTESTS_FAST).
meta/conf/distro/include/ptest-packagelists.inc | 1 +
meta/recipes-devtools/python/python3-pyopenssl_26.4.0.bb | 9 ++++++++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index 370606ead7..ce6c0a2d76 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -86,6 +86,7 @@ PTESTS_FAST = "\
python3-pluggy \
python3-pefile \
python3-pyasn1 \
+ python3-pyopenssl \
python3-pytz \
python3-pyyaml \
python3-rpds-py \
diff --git a/meta/recipes-devtools/python/python3-pyopenssl_26.4.0.bb b/meta/recipes-devtools/python/python3-pyopenssl_26.4.0.bb
index 6246375afc..0aa1e8991e 100644
--- a/meta/recipes-devtools/python/python3-pyopenssl_26.4.0.bb
+++ b/meta/recipes-devtools/python/python3-pyopenssl_26.4.0.bb
@@ -7,7 +7,7 @@ DEPENDS += "openssl python3-cryptography"
SRC_URI[sha256sum] = "28dfcce0162b9211413e26dfbfdf1d24317fbeba18fc93c12400a1856b2a0bc7"
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest-python-pytest
PACKAGES =+ "${PN}-tests"
FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/OpenSSL/test"
@@ -18,6 +18,13 @@ RDEPENDS:${PN}:class-target = " \
"
RDEPENDS:${PN}-tests = "${PN}"
+RDEPENDS:${PN}-ptest += " \
+ python3-datetime \
+ python3-io \
+ python3-netclient \
+ python3-pretend \
+"
+
CVE_PRODUCT = "jean-paul_calderone:pyopenssl pyca:pyopenssl pyopenssl:pyopenssl pyopenssl_project:pyopenssl"
BBCLASSEXTEND = "native nativesdk"
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-20 4:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 4:28 [PATCH] python3-pyopenssl: enable ptest Babanpreet Singh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox