diff mbox series

[meta-python] python3-pint: move PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON

Message ID 20241011144002.2968471-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python] python3-pint: move PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON | expand

Commit Message

alperak Oct. 11, 2024, 2:40 p.m. UTC
- 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

Signed-off-by: alperak <alperyasinak1@gmail.com>
---
 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(-)
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 07ae46908..9e828fa5c 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -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 \
 "
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
index 23e9fdb0e..72589dda9 100644
--- a/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pint_0.24.3.bb
@@ -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 += " \