diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2026-01-07 18:28:45 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-01-12 08:53:45 -0800 |
| commit | 38119992d8cc481d60bb7c0e201156c8c46b51a2 (patch) | |
| tree | 3a04640a373fa3579a53e1c2362c11e5b682af04 /meta-python/recipes-devtools | |
| parent | ba6468f7a09bf8e268ea5ac7939925c362ead876 (diff) | |
| download | meta-openembedded-38119992d8cc481d60bb7c0e201156c8c46b51a2.tar.gz | |
python3-bleak: upgrade 2.0.0 -> 2.1.1
1. Changelog:
https://github.com/hbldh/bleak/blob/v2.1.1/CHANGELOG.rst
2. Skip integration tests in ptest
After upgrade to 2.1.1, a new test set integration was added.
https://github.com/hbldh/bleak/tree/v2.1.1/tests/integration
According to the description, the tests need kernel module hci_vhci,
but hci_vhci is disabled in yocto, so skip these tests.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bleak/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb (renamed from meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb) | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest new file mode 100644 index 0000000000..623fc814c9 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bleak/run-ptest | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | #Skip integration as it need hci_vhci, but hci_vhci module is not enabled in yocto kernel. | ||
| 3 | pytest --automake -k "not integration" | ||
diff --git a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb index 161b21b88c..03f2ed062c 100644 --- a/meta-python/recipes-devtools/python/python3-bleak_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-bleak_2.1.1.bb | |||
| @@ -3,8 +3,10 @@ HOMEPAGE = "https://github.com/hbldh/bleak" | |||
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" |
| 5 | 5 | ||
| 6 | SRCREV = "718e5d76cd051910a9d5266266af632c2529c03c" | 6 | SRCREV = "5d76a62a549a4674c64ee151d38e2339e8ba948a" |
| 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S}" | 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop;destsuffix=${S};tag=v${PV}" |
| 8 | |||
| 9 | SRC_URI:append = " file://run-ptest" | ||
| 8 | 10 | ||
| 9 | inherit pypi python_poetry_core ptest-python-pytest | 11 | inherit pypi python_poetry_core ptest-python-pytest |
| 10 | 12 | ||
| @@ -12,6 +14,7 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 12 | python3-asyncio \ | 14 | python3-asyncio \ |
| 13 | python3-pytest-asyncio \ | 15 | python3-pytest-asyncio \ |
| 14 | python3-pytest-cov \ | 16 | python3-pytest-cov \ |
| 17 | python3-bumble \ | ||
| 15 | " | 18 | " |
| 16 | 19 | ||
| 17 | RDEPENDS:${PN} += " \ | 20 | RDEPENDS:${PN} += " \ |
