Skip to contentSkip to conversation

python3-trustme: add runtime dependency for tests and re-add to ptest

PATCH In review Derek Straka 2 participants 12 messages Feb 19, 2024 – Feb 20, 2024 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 python3-trustme: add runtime dependency for tests and re-add to ptest

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc  | 2 +-
 meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 598548262..51fcdd2b2 100644
@@ -50,6 +50,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-soupsieve \
     python3-sqlparse \
     python3-tomlkit \
+    python3-trustme \
     python3-ujson \
     python3-u-msgpack-python \
     python3-unidiff \
@@ -83,7 +84,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-pyzmq \
     python3-scrypt \
     python3-service-identity \
-    python3-trustme \
     python3-typeguard \
     python3-whoosh \
     python3-xlrd \
meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +1 -0
index ac03bce2b..21161a0e0 100644
@@ -20,6 +20,7 @@ RDEPENDS:${PN} += " \
 "
 
 RDEPENDS:${PN}-ptest += " \
+    python3-pyopenssl \
     python3-pyasn1-modules \
     python3-pytest \
     python3-service-identity \
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/8 python3-msgpack: re-add working ptest

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 51fcdd2b2..09fd7eb25 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-msgpack \
     python3-multidict \
     python3-parse-type \
     python3-platformdirs \
@@ -75,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-jdcal \
     python3-jsmin \
     python3-license-expression \
-    python3-msgpack \
     python3-ordered-set \
     python3-parse \
     python3-pillow \
Signature · 1 line
2.34.1
#2 lore raw

Re: [oe] [meta-python][PATCH 2/8] python3-msgpack: re-add working ptest

2024-02-19 18:23:55 - INFO     - WARNING:
meta-python-image-ptest-python3-msgpack-1.0-r0 do_testimage: There were
failing ptests.
<snip>
2024-02-19 18:23:55 - INFO     - AssertionError:
2024-02-19 18:23:55 - INFO     - ptests which had no test results:
2024-02-19 18:23:55 - INFO     - ['python3-msgpack']
Quoted 41 lines · Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -2
index 51fcdd2b2..09fd7eb25 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-msgpack \
     python3-multidict \
     python3-parse-type \
     python3-platformdirs \
@@ -75,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-jdcal \
     python3-jsmin \
     python3-license-expression \
-    python3-msgpack \
     python3-ordered-set \
     python3-parse \
     python3-pillow \
--

2.34.1

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

#3 lore raw

PATCH 3/8 python3-jsmin: re-add functional ptests

In reply to Derek Straka

Supress warnings about syntax for the tests

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 meta-python/recipes-devtools/python/python3-jsmin/run-ptest | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 09fd7eb25..98ebdd07a 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-jsmin \
     python3-msgpack \
     python3-multidict \
     python3-parse-type \
@@ -74,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-gunicorn \
     python3-inotify \
     python3-jdcal \
-    python3-jsmin \
     python3-license-expression \
     python3-ordered-set \
     python3-parse \
meta-python/recipes-devtools/python/python3-jsmin/run-ptest +1 -1
index cbcfffda5..2f04130b9 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python3 test.py
+python3 -W ignore test.py
Signature · 1 line
2.34.1
#4 lore raw

Re: [oe] [meta-python][PATCH 3/8] python3-jsmin: re-add functional ptests

2024-02-19 18:19:43 - INFO     - WARNING:
meta-python-image-ptest-python3-jsmin-1.0-r0 do_testimage: There were
failing ptests.
<snip>
2024-02-19 18:19:43 - INFO     - self.fail(failmsg)
2024-02-19 18:19:43 - INFO     - AssertionError:
2024-02-19 18:19:43 - INFO     - ptests which had no test results:
2024-02-19 18:19:43 - INFO     - ['python3-jsmin']
Quoted 54 lines · Derek Straka

Supress warnings about syntax for the tests

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 meta-python/recipes-devtools/python/python3-jsmin/run-ptest | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 09fd7eb25..98ebdd07a 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-jsmin \
     python3-msgpack \
     python3-multidict \
     python3-parse-type \
@@ -74,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-gunicorn \
     python3-inotify \
     python3-jdcal \
-    python3-jsmin \
     python3-license-expression \
     python3-ordered-set \
     python3-parse \
meta-python/recipes-devtools/python/python3-jsmin/run-ptest +1 -2
index cbcfffda5..2f04130b9 100644
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-python3 test.py
+python3 -W ignore test.py
--

2.34.1

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

#5 lore raw

PATCH 4/8 python3-parse: add back working ptests

In reply to Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 98ebdd07a..ea6284264 100644
@@ -26,6 +26,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-jsmin \
     python3-msgpack \
     python3-multidict \
+    python3-parse \
     python3-parse-type \
     python3-platformdirs \
     python3-polyline \
@@ -77,7 +78,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-jdcal \
     python3-license-expression \
     python3-ordered-set \
-    python3-parse \
     python3-pillow \
     python3-pint \
     python3-pytest-lazy-fixture \
Signature · 1 line
2.34.1
#6 lore raw

Re: [oe] [meta-python][PATCH 4/8] python3-parse: add back working ptests

2024-02-19 18:27:51 - INFO     - WARNING:
meta-python-image-ptest-python3-parse-1.0-r0 do_testimage: There were
failing ptests.
<snip>
2024-02-19 18:27:51 - INFO     - AssertionError:
2024-02-19 18:27:51 - INFO     - ptests which had no test results:
2024-02-19 18:27:51 - INFO     - ['python3-parse']
Quoted 41 lines · Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -2
index 98ebdd07a..ea6284264 100644
@@ -26,6 +26,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-jsmin \
     python3-msgpack \
     python3-multidict \
+    python3-parse \
     python3-parse-type \
     python3-platformdirs \
     python3-polyline \
@@ -77,7 +78,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-jdcal \
     python3-license-expression \
     python3-ordered-set \
-    python3-parse \
     python3-pillow \
     python3-pint \
     python3-pytest-lazy-fixture \
--

2.34.1

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

#7 lore raw

PATCH 5/8 python3-jdcal: re-add functional ptests

In reply to Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index ea6284264..7fa96a495 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-jdcal \
     python3-jsmin \
     python3-msgpack \
     python3-multidict \
@@ -75,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-gpiod \
     python3-gunicorn \
     python3-inotify \
-    python3-jdcal \
     python3-license-expression \
     python3-ordered-set \
     python3-pillow \
Signature · 1 line
2.34.1
#8 lore raw

Re: [oe] [meta-python][PATCH 5/8] python3-jdcal: re-add functional ptests

No ptest results, so this is still considered PTESTS_PROBLEMS_META_PYTHON Can you check again?

2024-02-19 18:18:16 - INFO     - WARNING:
meta-python-image-ptest-python3-jdcal-1.0-r0 do_testimage: There were
failing ptests.
2024-02-19 18:18:16 - INFO     - Traceback (most recent call last):
2024-02-19 18:18:16 - INFO     - File
"/build/../poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in
wrapped_f
2024-02-19 18:18:16 - INFO     - return func(*args, **kwargs)
2024-02-19 18:18:16 - INFO     - File
"/build/../poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in
wrapped_f
2024-02-19 18:18:16 - INFO     - return func(*args, **kwargs)
2024-02-19 18:18:16 - INFO     - File
"/build/../poky/meta/lib/oeqa/core/decorator/__init__.py", line 35, in
wrapped_f
2024-02-19 18:18:16 - INFO     - return func(*args, **kwargs)
2024-02-19 18:18:16 - INFO     - File
"/poky/meta/lib/oeqa/runtime/cases/ptest.py", line 27, in
test_ptestrunner_expectfail
2024-02-19 18:18:16 - INFO     - self.do_ptestrunner()
2024-02-19 18:18:16 - INFO     - File
"/poky/meta/lib/oeqa/runtime/cases/ptest.py", line 120, in do_ptestrunner
2024-02-19 18:18:16 - INFO     - self.fail(failmsg)
2024-02-19 18:18:16 - INFO     - AssertionError:
2024-02-19 18:18:16 - INFO     - ptests which had no test results:
2024-02-19 18:18:16 - INFO     - ['python3-jdcal']
Quoted 41 lines · Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -2
index ea6284264..7fa96a495 100644
@@ -23,6 +23,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
+    python3-jdcal \
     python3-jsmin \
     python3-msgpack \
     python3-multidict \
@@ -75,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-gpiod \
     python3-gunicorn \
     python3-inotify \
-    python3-jdcal \
     python3-license-expression \
     python3-ordered-set \
     python3-pillow \
--

2.34.1

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

#9 lore raw

PATCH 6/8 python3-gunicorn: re-enable working ptests for the package

In reply to Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 7fa96a495..2733280e6 100644
@@ -18,6 +18,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-dominate \
     python3-execnet \
     python3-geojson \
+    python3-gunicorn \
     python3-html2text \
     python3-inflection \
     python3-intervals \
@@ -74,7 +75,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-dnspython \
     python3-fastjsonschema \
     python3-gpiod \
-    python3-gunicorn \
     python3-inotify \
     python3-license-expression \
     python3-ordered-set \
Signature · 1 line
2.34.1
#10 lore raw

PATCH 7/8 python-inotify: re-enable working ptests for the package

In reply to Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 2733280e6..5e4e5d45a 100644
@@ -21,6 +21,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-gunicorn \
     python3-html2text \
     python3-inflection \
+    python3-inotify \
     python3-intervals \
     python3-ipy \
     python3-iso3166 \
@@ -75,7 +76,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-dnspython \
     python3-fastjsonschema \
     python3-gpiod \
-    python3-inotify \
     python3-license-expression \
     python3-ordered-set \
     python3-pillow \
Signature · 1 line
2.34.1
#11 lore raw

PATCH 8/8 python3-license-expression: re-enable passing ptests for the package

In reply to Derek Straka
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 5e4e5d45a..fe8f07c85 100644
@@ -27,6 +27,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-iso3166 \
     python3-jdcal \
     python3-jsmin \
+    python3-license-expression \
     python3-msgpack \
     python3-multidict \
     python3-parse \
@@ -76,7 +77,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-dnspython \
     python3-fastjsonschema \
     python3-gpiod \
-    python3-license-expression \
     python3-ordered-set \
     python3-pillow \
     python3-pint \
Signature · 1 line
2.34.1