Files
poky/meta/recipes-devtools/python/python3-attrs_23.2.0.bb
Tim Orling 3b9dbfb5c6 python3-attrs: skip test failing with pytest-8
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

https://github.com/python-attrs/attrs/issues/1233

(From OE-Core rev: 5af87eda524bb0affe207c006f67b4191f6ce746)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-17 18:19:19 +00:00

39 lines
903 B
BlitzBasic

SUMMARY = "Classes Without Boilerplate"
HOMEPAGE = "http://www.attrs.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5e55731824cf9205cfabeab9a0600887"
SRC_URI[sha256sum] = "935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30"
inherit pypi ptest python_hatchling
SRC_URI += " \
file://0001-test_funcs-skip-test_unknown-for-pytest-8.patch \
file://run-ptest \
"
DEPENDS += " \
python3-hatch-vcs-native \
python3-hatch-fancy-pypi-readme-native \
"
RDEPENDS:${PN}+= " \
python3-compression \
python3-ctypes \
python3-crypt \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-hypothesis \
${PYTHON_PN}-pytest \
${PYTHON_PN}-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
install ${S}/conftest.py ${D}${PTEST_PATH}/
}
BBCLASSEXTEND = "native nativesdk"