Skip to contentSkip to conversation

python3-pytest-forked: add 1.4.0

PATCH New Justin Bronder 1 participant 2 messages Feb 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pytest-forked: add 1.4.0

Adding as a dependency of python3-pytest-xdist (which allows parallel execution of pytest test cases).

---
 .../python/python3-pytest-forked_1.4.0.bb         | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb
meta-python/recipes-devtools/python/python3-pytest-forked_1.4.0.bb new file +15 -0
new file mode 100644
index 0000000000..c6f352bc61
@@ -0,0 +1,15 @@
+SUMMARY = "run tests in isolated forked subprocesses"
+HOMEPAGE = "https://github.com/pytest-dev/pytest-forked"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
+
+SRC_URI[sha256sum] = "8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-setuptools-scm-native"
+
+RDEPENDS:${PN} += " \
+    python3-py \
+    python3-pytest \
+"
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/2 python3-pytest-xdist: add 2.5.0

Adding a pytest plugin that enables distributed testing and loop-on-failing modes.

---
 .../python/python3-pytest-xdist_2.5.0.bb        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb
meta-python/recipes-devtools/python/python3-pytest-xdist_2.5.0.bb new file +17 -0
new file mode 100644
index 0000000000..a10ac8cc49
@@ -0,0 +1,17 @@
+SUMMARY = "pytest xdist plugin for distributed testing and loop-on-failing modes"
+HOMEPAGE = "https://github.com/pytest-dev/pytest-xdist"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
+
+SRC_URI[sha256sum] = "4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf"
+
+inherit pypi setuptools3
+
+DEPENDS += "python3-setuptools-scm-native"
+
+# Note that the dependency on pytest-forked is scheduled to be dropped in 3.0
+RDEPENDS:${PN} += " \
+    python3-execnet \
+    python3-pytest \
+    python3-pytest-forked \
+"
Signature · 1 line
2.35.1