@@ -77,6 +77,7 @@ PTESTS_FAST_META_PYTHON = "\
python3-pytest-httpx \
python3-pytest-mock \
python3-pytest-picked \
+ python3-pytest-retry \
python3-pytest-sugar \
python3-pytoml \
python3-pyyaml-include \
@@ -352,6 +352,7 @@ RDEPENDS:packagegroup-meta-python3 = "\
python3-pytest-lazy-fixtures \
python3-pytest-metadata \
python3-pytest-picked\
+ python3-pytest-retry \
python3-pytest-tempdir \
python3-pytest-timeout \
python3-pytest-xdist \
new file mode 100644
@@ -0,0 +1,16 @@
+SUMMARY = "Adds the ability to retry flaky tests in CI environments"
+HOMEPAGE = "https://github.com/str0zzapreti/pytest-retry"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c25bd3d1db774af27b10acd6f80bf939"
+RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
+
+SRC_URI[sha256sum] = "f8d52339f01e949df47c11ba9ee8d5b362f5824dff580d3870ec9ae0057df80f"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+RDEPENDS:${PN} += "\
+ python3-pytest (>=7.0.0) \
+"
+
+PYPI_PACKAGE = "pytest_retry"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Description: Adds the ability to retry flaky tests in CI environments Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> --- .../include/ptest-packagelists-meta-python.inc | 1 + .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-pytest-retry_1.7.0.bb | 16 ++++++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb