diff mbox series

[meta-python,8/8] new recipe: python3-pytest-retry

Message ID 20251105212631.386242-12-t.f.g.geelen@gmail.com
State New
Headers show
Series [meta-python,1/8] python3-requests-toolbelt: add BBCLASSEXTEND: native nativesdk | expand

Commit Message

Tom Geelen Nov. 5, 2025, 9:26 p.m. UTC
pytest-retry is a plugin for Pytest which adds the ability to retry flaky tests, thereby improving the consistency of the test suite results.

Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
---
 .../python/python3-pytest-retry_1.7.0.bb            | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb

Comments

Khem Raj Nov. 5, 2025, 10:51 p.m. UTC | #1
On Wed, Nov 5, 2025 at 1:28 PM Tom Geelen via lists.openembedded.org
<t.f.g.geelen=gmail.com@lists.openembedded.org> wrote:

> pytest-retry is a plugin for Pytest which adds the ability to retry flaky
> tests, thereby improving the consistency of the test suite results.
>
> Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
> ---
>  .../python/python3-pytest-retry_1.7.0.bb            | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pytest-retry_1.7.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-pytest-retry_1.7.0.bb b/meta-python/recipes-devtools/python/
> python3-pytest-retry_1.7.0.bb
> new file mode 100644
> index 0000000000..f70adca68f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb
> @@ -0,0 +1,13 @@
> +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
>

same here as well.


> +
> +PYPI_PACKAGE = "pytest_retry"
> +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
> +RDEPENDS:${PN} = "python3-pytest"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#121337):
> https://lists.openembedded.org/g/openembedded-devel/message/121337
> Mute This Topic: https://lists.openembedded.org/mt/116142684/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb b/meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb
new file mode 100644
index 0000000000..f70adca68f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb
@@ -0,0 +1,13 @@ 
+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
+
+PYPI_PACKAGE = "pytest_retry"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+RDEPENDS:${PN} = "python3-pytest"