mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-30 00:33:19 +00:00
python3-bleak: Use python_uv_build and drop the uv_build upper bound
bleak's build backend is uv_build, but the recipe inherited python_poetry_core and then added python3-uv-build-native to DEPENDS by hand. Both classes are thin wrappers over python_pep517 that differ only in the native backend they pull in, and python_pep517 takes the backend from pyproject.toml, so inherit python_uv_build instead and drop the manual DEPENDS along with the unused poetry-core dependency. The patch capped uv_build at <0.12.0, which the 0.11.32 -> 0.12.1 upgrade in oe-core invalidated: ERROR Unmet dependencies (checked against .../nativepython3): uv_build<0.12.0,>=0.10.9 This bound has now broken twice, and there is only ever one uv-build in the sysroot, so drop the upper bound rather than raise it again. Verified on aarch64 for qemuarm64: do_compile fails before the change with the error above and both do_compile and do_package succeed after. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -8,14 +8,10 @@ SRC_URI:append = " \
|
||||
file://0001-bleak-Support-newer-uv_build-versions.patch \
|
||||
"
|
||||
|
||||
inherit pypi python_poetry_core ptest-python-pytest
|
||||
inherit pypi python_uv_build ptest-python-pytest
|
||||
|
||||
SRC_URI[sha256sum] = "c2229cb8238d5876b4bd05c74bf7a1aea1f88da39d2e51ac9dfd5cc319d5265f"
|
||||
|
||||
DEPENDS += "\
|
||||
python3-uv-build-native \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-asyncio \
|
||||
python3-pytest-asyncio \
|
||||
|
||||
Reference in New Issue
Block a user