Files
Khem Raj bf819b4804 python3-hpack: add python3-wheel-native to DEPENDS
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>
2026-08-13 13:01:35 -07:00

22 lines
736 B
BlitzBasic

DESCRIPTION = "Pure-Python HPACK header compression"
HOMEPAGE = "https://github.com/python-hyper/hpack"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393"
SRC_URI[sha256sum] = "0895cfa3b5531fc65fe439c05eb65144f123bf7a394fcaa56aa423548d8e45c0"
inherit ptest-python-pytest pypi python_setuptools_build_meta
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN} += "python3-logging"
RDEPENDS:${PN}-ptest += "python3-hypothesis"
do_install_ptest:append(){
# One test is failing due to missing fixtures, upstream's recommended
# solution is to delete this file (as of v4.1.0):
# https://github.com/python-hyper/hpack/issues/272
rm -f ${D}${PTEST_PATH}/${PTEST_PYTEST_DIR}/conftest.py
}