From: Tim Orling <[email protected]>

Since 2026.7.22 ships tests/ in the sdist [1], we can enable ptest.

All three test cases pass.

[1] 
https://github.com/certifi/python-certifi/commit/474e6fc996d55b91632248da0bade702504e62dc

Signed-off-by: Tim Orling <[email protected]>
---
 meta/conf/distro/include/ptest-packagelists.inc           | 1 +
 meta/recipes-devtools/python/python3-certifi_2026.7.22.bb | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/ptest-packagelists.inc 
b/meta/conf/distro/include/ptest-packagelists.inc
index abe777e178..453fb87c17 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -72,6 +72,7 @@ PTESTS_FAST = "\
     python3-attrs \
     python3-bcrypt \
     python3-calver \
+    python3-certifi \
     python3-hypothesis \
     python3-idna \
     python3-jinja2 \
diff --git a/meta/recipes-devtools/python/python3-certifi_2026.7.22.bb 
b/meta/recipes-devtools/python/python3-certifi_2026.7.22.bb
index 71bef4d6c4..41b282800b 100644
--- a/meta/recipes-devtools/python/python3-certifi_2026.7.22.bb
+++ b/meta/recipes-devtools/python/python3-certifi_2026.7.22.bb
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=11618cb6a975948679286b1211bd573c"
 
 SRC_URI[sha256sum] = 
"741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55"
 
-inherit pypi python_setuptools_build_meta
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+PTEST_PYTEST_DIR = "certifi/tests"
 
 CVE_PRODUCT = "certifi:certifi"
 
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#241861): 
https://lists.openembedded.org/g/openembedded-core/message/241861
Mute This Topic: https://lists.openembedded.org/mt/120412562/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to