Skip to contentSkip to conversation

python3-pytest-subtests: add recipe

PATCH Superseded Trevor Gamblin 2 participants 3 messages Sep 1, 2021 – Sep 2, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pytest-subtests: add recipe

Newer versions of python3-cryptography will rely on the subtests fixture for their ptests. Add this recipe so that cryptography can be given the necessary RDEPENDS when it is upgraded.

---
 .../python/python3-pytest-subtests_0.5.0.bb        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb
meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb new file +14 -0
new file mode 100644
index 000000000..c2bf47203
@@ -0,0 +1,14 @@
+DESCRIPTION = "unittest subTest() support and subtests fixture."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
+
+SRC_URI[sha256sum] = "c62d68a84f94f8bc49bbb01b39392953e26a52570ad380581a3b2cc8d7eaa037"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.31.1
#1 lore raw

it failed with sha256 checksums errors in fetcher which I fixed and then it failed again in compile with

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1499

also you forgot to add it to test package group.

Quoted 37 lines · Trevor Gamblin

Newer versions of python3-cryptography will rely on the subtests fixture for their ptests. Add this recipe so that cryptography can be given the necessary RDEPENDS when it is upgraded.

---
 .../python/python3-pytest-subtests_0.5.0.bb        | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb
meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb new file +14 -1
new file mode 100644
index 000000000..c2bf47203
@@ -0,0 +1,14 @@
+DESCRIPTION = "unittest subTest() support and subtests fixture."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
+
+SRC_URI[sha256sum] = "c62d68a84f94f8bc49bbb01b39392953e26a52570ad380581a3b2cc8d7eaa037"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.31.1

#2 lore raw
Quoted 8 lines · Khem Raj

[Please note: This e-mail is from an EXTERNAL e-mail address]

it failed with sha256 checksums errors in fetcher which I fixed and then it failed again in compile with

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/1499

also you forgot to add it to test package group.

Right, my pipeline caught this too. Fixing...

Quoted 40 lines
Quoted 36 lines · Trevor Gamblin

Newer versions of python3-cryptography will rely on the subtests fixture for their ptests. Add this recipe so that cryptography can be given the necessary RDEPENDS when it is upgraded.

---
  .../python/python3-pytest-subtests_0.5.0.bb        | 14 ++++++++++++++
  1 file changed, 14 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb

meta-python/recipes-devtools/python/python3-pytest-subtests_0.5.0.bb new file +14 -1
new file mode 100644
index 000000000..c2bf47203
@@ -0,0 +1,14 @@
+DESCRIPTION = "unittest subTest() support and subtests fixture."
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
+
+SRC_URI[sha256sum] = "c62d68a84f94f8bc49bbb01b39392953e26a52570ad380581a3b2cc8d7eaa037"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += " \
+    ${PYTHON_PN}-pytest \
+"
+
+BBCLASSEXTEND = "native nativesdk"
--

2.31.1