python3-bleak: enable ptest and add missing runtime dependency
PATCH 1/1 python3-bleak: enable ptest and add missing runtime dependency
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into PTESTS_FAST_META_PYTHON
qemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END: /usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0
qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END: /usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0
--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29 +++++++++++++++---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-bleak/run-ptest
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \
meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +23 -6
@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRC_URI[sha256sum] = "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f" +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" -PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ "
Signature · 1 line
2.25.1
Quoted 71 lines · Alper Ak
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END:/usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0Signed-off-by alperak <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29 +++++++++++++++---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-bleak/run-ptestmeta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automakemeta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-0
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 7
Quoted 6 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2
-1@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRC_URI[sha256sum] = "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f" +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
why do we need this change if we are not bumping versions ?
Quoted 43 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +21
-6-PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ " --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109828): https://lists.openembedded.org/g/openembedded-devel/message/109828
Mute This Topic: https://lists.openembedded.org/mt/105358066/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Sorry, I overlooked it. The tests directory was not present in the package downloaded with the default PYPI_SRC_URI value.
Khem Raj <[email protected]>, 6 Nis 2024 Cmt, 01:46 tarihinde şunu yazdı:
Quoted 133 lines · Alper Ak
Quoted 37 lines
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END:/usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0Quoted 7 lines
Signed-off-by alperak <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29 +++++++++++++++---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644meta-python/recipes-devtools/python/python3-bleak/run-ptest
Review
Quoted 2 lines
(quoted diff) +0
-0b/meta-python/conf/include/ptest-packagelists-meta-python.inc
Review
Quoted 12 lines
index
2f7babe48..63f312b45100644meta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \(quoted diff) +0
-0b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
Review
Quoted 9 lines
new file mode 100644
index 000000000..8d2017d39meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake(quoted diff) +0
-0b/meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 6
Quoted 8 lines
index
4a1fafb5d..96f3fcbcf100644meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-1@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRC_URI[sha256sum] ="
ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 7
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2
-0+SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
why do we need this change if we are not bumping versions ?
Quoted 35 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +21
-6-PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ " --2.25.1
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109828):https://lists.openembedded.org/g/openembedded-devel/message/109828
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/105358066/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Alper Ak
Sorry, I overlooked it. The tests directory was not present in the package downloaded with the default
PYPI_SRC_URIvalue.
Unfortunately, many pypi.org tarballs exclude tests. So switching to git fetcher will make sense in those cases.
Given the “xz backdoor” incident, we might decide to prefer git.
Quoted 144 lines
Khem Raj <[email protected]>, 6 Nis 2024 Cmt, 01:46 tarihinde şunu yazdı:
Quoted 113 lines · Alper Ak
Quoted 37 lines
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END:/usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0Quoted 7 lines
Signed-off-by alperak <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29 +++++++++++++++---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644meta-python/recipes-devtools/python/python3-bleak/run-ptest
Quoted 2 lines
diff --git
a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
Quoted 11 lines
index
2f7babe48..63f312b45100644meta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \Quoted 1 line
diff --git
a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
Review
Quoted 9 lines
new file mode 100644
index 000000000..8d2017d39meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake(quoted diff) +0
-0python3-bleak_0.21.1.bb b/meta-python/recipes-devtools/python/ python3-bleak_0.21.1.bb
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 4
Quoted 6 lines
index
4a1fafb5d..96f3fcbcf100644meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-0@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM ="file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 5
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-1-SRC_URI[sha256sum] ="
ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 6
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2
-0+SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
why do we need this change if we are not bumping versions ?
Quoted 22 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +17
-2-PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}Quoted 16 lines
Quoted 10 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +4
-4RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ " --Quoted 5 lines
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109831):
https://lists.openembedded.org/g/openembedded-devel/message/109831
Mute This Topic: https://lists.openembedded.org/mt/105358066/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 9 lines · Tim Orling
Quoted 2 lines · Alper Ak
Sorry, I overlooked it. The tests directory was not present in the package downloaded with the default
PYPI_SRC_URIvalue.Unfortunately, many pypi.org tarballs exclude tests. So switching to git fetcher will make sense in those cases.
Hmm ok. So is this SRCREV corresponding to same release ? if so we are ok, otherwise perhaps adding +git to SRCREV would
be appropriate
Quoted 1 line
Given the “xz backdoor” incident, we might decide to prefer git.
Nah, that would not mitigate it
Quoted 132 lines
Quoted 132 lines
Khem Raj <[email protected]>, 6 Nis 2024 Cmt, 01:46 tarihinde şunu yazdı:
Quoted 104 lines · Alper Ak
Quoted 71 lines
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END:/usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0Signed-off-by alperak <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29 +++++++++++++++---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-bleak/run-ptestmeta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automakemeta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-0meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 7
Quoted 6 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2
-1@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" -SRC_URI[sha256sum] = "ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f" +SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"why do we need this change if we are not bumping versions ?
Quoted 22 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +17
-2-PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}Quoted 15 lines
Quoted 10 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +4
-4RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ " --Quoted 5 lines
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#109831): https://lists.openembedded.org/g/openembedded-devel/message/109831
Mute This Topic: https://lists.openembedded.org/mt/105358066/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines
Hmm ok. So is this SRCREV corresponding to same release ? if so we are ok, otherwise perhaps adding +git to SRCREV would
be appropriate
Yes, it's the same release.
Khem Raj <[email protected]>, 6 Nis 2024 Cmt, 20:48 tarihinde şunu yazdı:
Quoted 170 lines · Tim Orling
Quoted 4 lines
On Fri, Apr 5, 2024 at 10:34 PM Alper Ak <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
Sorry, I overlooked it. The tests directory was not present in the
package downloaded with the default
PYPI_SRC_URIvalue.Quoted 3 lines
Unfortunately, many pypi.org tarballs exclude tests. So switching to
git fetcher will make sense in those cases.
Hmm ok. So is this SRCREV corresponding to same release ? if so we are ok, otherwise perhaps adding +git to SRCREV would
be appropriateQuoted 1 line
Given the “xz backdoor” incident, we might decide to prefer git.
Nah, that would not mitigate it
Quoted 3 lines
Quoted 3 lines
Khem Raj <[email protected]>, 6 Nis 2024 Cmt, 01:46 tarihinde şunu
yazdı:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
On Fri, Apr 5, 2024 at 2:53 PM Alper Ak <[email protected]>
Quoted 37 lines · wrote:
Quoted 37 lines
Quoted 37 lines
Quoted 37 lines
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0qemuarm64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 8
END:/usr/lib/python3-bleak/ptest
2024-04-05T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Signed-off-by alperak <[email protected]>--- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-bleak/run-ptest | 3 ++ .../python/python3-bleak_0.21.1.bb | 29+++++++++++++++----
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644meta-python/recipes-devtools/python/python3-bleak/run-ptest
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
diff --git
a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
index
2f7babe48..63f312b45100644meta-python/conf/include/ptest-packagelists-meta-python.inc +0
-0@@ -12,6 +12,7 @@ PTESTS_FAST_META_PYTHON = "\Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
meta-python/conf/include/ptest-packagelists-meta-python.inc +1
-0python3-ansicolors \ python3-asgiref \ python3-aspectlib \ + python3-bleak \ python3-blinker \ python3-cachetools \ python3-cbor2 \diff --git
a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Review
Quoted 9 lines
new file mode 100644
index 000000000..8d2017d39meta-python/recipes-devtools/python/python3-bleak/run-ptest new file +3
-0@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake(quoted diff) +0
-0python3-bleak_0.21.1.bb b/meta-python/recipes-devtools/python/ python3-bleak_0.21.1.bb
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 4
Quoted 6 lines
index
4a1fafb5d..96f3fcbcf100644meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-0@@ -3,14 +3,31 @@ HOMEPAGE = "https://github.com/hbldh/bleak" LICENSE = "MIT" LIC_FILES_CHKSUM ="file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7"
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 5
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +0
-1-SRC_URI[sha256sum] ="
ec4a1a2772fb315b992cbaa1153070c7e26968a52b0e2727035f443a1af5c18f"Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb HOMEPAGE = "https://github.com/hbldh/bleak" · line 6
Quoted 2 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +2
-0+SRCREV = "054b092e19c7a45d5ea07d8948022f54117fe5e8" +PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop"
Quoted 37 lines
Quoted 37 lines
Quoted 37 lines
why do we need this change if we are not bumping versions ?
Quoted 34 lines
meta-python/recipes-devtools/python/python3-bleak_0.21.1.bb +21
-6-PYPI_PACKAGE = "bleak" +inherit pypi python_poetry_core ptest -inherit pypi python_poetry_core +S = "${WORKDIR}/git" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-pytest-asyncio \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} RDEPENDS:${PN} += " \ - python3-core (>3.7) \ - python3-async-timeout \ - python3-dbus-fast \ + python3-core (>3.7) \ + python3-async-timeout \ + python3-dbus-fast \ + python3-xml \ " --2.25.1
Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#109831):https://lists.openembedded.org/g/openembedded-devel/message/109831
Quoted 3 lines
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/105358066/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsubQuoted 2 lines
Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Khem Raj
AppliedQuoted 20 lines · alperak
* Ptest tested on qemux86-64 and qemuarm64
* Add ptest into
PTESTS_FAST_META_PYTHONqemux86-64:
Testsuite summary
TOTAL: 14
PASS: 14
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 9
END:/usr/lib/python3-bleak/ptest
2024-04-05T18:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0
Quoted 1 line
[...]
Applied, thanks!
[1/1] python3-bleak: enable ptest and add missing runtime dependency
commit: dce392b58826d1aff643196f05e592c9f40e9636
Best regards,
Signature · 1 line
Khem Raj <[email protected]>