diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 4cbdec70a3..2a7be4f331 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -39,6 +39,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-gpt-image \ python3-gunicorn \ python3-h2 \ + python3-hpack \ python3-html2text \ python3-httptools \ python3-inflection \ diff --git a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb index a5b9130d00..4ecbd583f3 100644 --- a/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb +++ b/meta-python/recipes-connectivity/python-hpack/python3-hpack_4.1.0.bb @@ -6,6 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5bf1c68e73fbaec2b1687b7e71514393" SRC_URI[sha256sum] = "ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca" -inherit pypi python_setuptools_build_meta +inherit ptest-python-pytest pypi python_setuptools_build_meta 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 +}