diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-11-18 11:51:24 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-18 16:24:12 -0800 |
| commit | f44516ebe8e6eb44fd64eee600e8f4c8ead9f687 (patch) | |
| tree | 953d9709d688dde20b8f74610238341a2e730b93 | |
| parent | 8d7343ebd552b48f025a0a8e30a53b5aacc4f1a2 (diff) | |
| download | meta-openembedded-f44516ebe8e6eb44fd64eee600e8f4c8ead9f687.tar.gz | |
python3-pyzmq: Package pytest.ini with ptests
pytest 8.4+ is strict about asyncio [1]
however pyzmq is not yet fully ready, and installs its own
pytest.ini, add this to ptests package
Fixes the failures e.g.
async def functions are not natively supported.
You need to install a suitable plugin for your async framework, for example:
- anyio
- pytest-asyncio
- pytest-tornasync
- pytest-trio
- pytest-twisted
FAIL: tests/test_auth.py:TestAsyncioAuthentication.test_deny
[1] https://github.com/pytest-dev/pytest/issues/11372
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb index 02518f43aa..4014879aae 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_27.1.0.bb | |||
| @@ -59,4 +59,5 @@ RDEPENDS:${PN}-ptest += "\ | |||
| 59 | do_install_ptest() { | 59 | do_install_ptest() { |
| 60 | install -d ${D}${PTEST_PATH}/tests | 60 | install -d ${D}${PTEST_PATH}/tests |
| 61 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | 61 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 62 | install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}/pytest.ini | ||
| 62 | } | 63 | } |
