Skip to contentSkip to conversation

python3-pint: move PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON

PATCH New alperak 1 participant 1 message Oct 11, 2024

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 python3-pint: move PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON

- Tested on qemux86-64.

- The PyPi package name defaults to PN without the python3- prefix, so there is no need to set PYPI_PACKAGE as pint, it is by default.

- xfailed tests are known failures upstream.

Ptest result:
=============

qemux86-64:

Testsuite summary
TOTAL: 2784
PASS: 2094
SKIP: 676
XFAIL: 12
FAIL: 0
XPASS: 2
ERROR: 0
DURATION: 1611
END: /usr/lib/python3-pint/ptest
2024-10-11T14:34
STOP: ptest-runner
TOTAL: 1 FAIL: 0

---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 2 +-
 meta-python/recipes-devtools/python/python3-pint_0.24.3.bb  | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -1
index 07ae46908..9e828fa5c 100644
@@ -103,6 +103,7 @@ PTESTS_SLOW_META_PYTHON = "\
     python3-lz4 \
     python3-marshmallow \
     python3-pillow \
+    python3-pint \
     python3-pytest-localserver \
     python3-scrypt \
     python3-traitlets \
@@ -114,7 +115,6 @@ PTESTS_PROBLEMS_META_PYTHON ="\
     python3-betamax \
     python3-dnspython \
     python3-fastjsonschema \
-    python3-pint \
     python3-pyzmq \
     python3-whoosh \
 "
meta-python/recipes-devtools/python/python3-pint_0.24.3.bb +2 -4
index 23e9fdb0e..72589dda9 100644
@@ -6,8 +6,6 @@ SECTION = "devel/python"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
 
-PYPI_PACKAGE = "pint"
-
 inherit pypi ptest python_setuptools_build_meta
 
 SRC_URI[sha256sum] = "d54771093e8b94c4e0a35ac638c2444ddf3ef685652bab7675ffecfa0c5c5cdf"
@@ -21,8 +19,8 @@ SRC_URI += " \
 "
 
 RDEPENDS:${PN} += " \
-    python3-setuptools \
-    python3-packaging \
+	python3-setuptools \
+	python3-packaging \
 "
 # python3-misc for timeit.py 
 RDEPENDS:${PN}-ptest += " \
Signature · 1 line
2.25.1