Files
meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb
T
Khem Raj 98f68d8c34 python3-execnet: Fix test_remote_exec_module_is_removed ptest
The test is parametrized over gateway types; it imports "remote" from
its tmp_path and then deletes that directory, but the module stays in
sys.modules. Every run after the first got the stale module back and
failed with "OSError: could not get source code". Drop the cached
module before importing it.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-06 00:12:32 -08:00

25 lines
796 B
BlitzBasic

# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "execnet: rapid multi-Python deployment"
HOMEPAGE = "https://execnet.readthedocs.io/en/latest/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e"
DEPENDS += "\
python3-pip-native \
python3-hatch-vcs-native \
"
SRC_URI += "file://0001-testing-Drop-cached-remote-module-in-test_remote_exe.patch"
SRC_URI[sha256sum] = "63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd"
inherit ptest-python-pytest pypi python_hatchling
PTEST_PYTEST_DIR = "testing"
RDEPENDS:${PN} += "python3-core python3-crypt python3-ctypes python3-fcntl python3-io python3-shell python3-threading"
BBCLASSEXTEND = "native nativesdk"