mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 03:37:15 +00:00
1.7.5 replaced py.process.ForkedFunc with multiprocessing, so swap the python3-py runtime dependency for python3-multiprocessing. The sdist is now named pytest_forked, the pypi class default, so drop PYPI_PACKAGE_SDIST. Backport the pending upstream fix for pytest 9.2, where TestReport carries a NodeId object in _id that marshal cannot serialize; every forked test crashed with "ValueError: unmarshallable object". This made python3-starlette ptests report no results at all; all of them pass now on qemux86-64. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
20 lines
572 B
BlitzBasic
20 lines
572 B
BlitzBasic
SUMMARY = "run tests in isolated forked subprocesses"
|
|
HOMEPAGE = "https://github.com/pytest-dev/pytest-forked"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
|
|
|
|
SRC_URI += "file://0001-Fix-report-serialization-with-pytest-9.2.patch"
|
|
|
|
SRC_URI[sha256sum] = "00f2bee51612f29b8e6b81eed2c3b2975e824c2693394f5bdaf7a1369078ba5f"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
PEP517_BUILD_OPTS = "--skip-dependency-check"
|
|
|
|
DEPENDS += "python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-multiprocessing \
|
|
python3-pytest \
|
|
"
|