mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-01 04:00:16 +00:00
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.
This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:
ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
wheel
wanted: any
found: not installed
Add python3-wheel-native to DEPENDS directly to satisfy it.
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
21 lines
760 B
BlitzBasic
21 lines
760 B
BlitzBasic
DESCRIPTION = "HTTP/2 State-Machine based protocol implementation"
|
|
HOMEPAGE = "https://github.com/python-hyper/hyper-h2"
|
|
LICENSE = "MIT"
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1"
|
|
|
|
SRC_URI[sha256sum] = "4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516"
|
|
|
|
inherit ptest-python-pytest pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += "python3-wheel-native"
|
|
|
|
RDEPENDS:${PN} += "python3-hpack python3-hyperframe"
|
|
RDEPENDS:${PN}-ptest += "python3-hypothesis"
|
|
|
|
do_install_ptest:append(){
|
|
# by defining CI envvar, hypothesis will use the CI-profile by default,
|
|
# and will not use tight execution deadlines (which times out easily on qemu without kvm)
|
|
sed -i 's/pytest/CI=1 pytest/' ${D}${PTEST_PATH}/run-ptest
|
|
}
|