From: Tim Orling Date: Wed, 21 Jan 2026 21:07:19 +0000 (-0800) Subject: oeqa/runtime: Update tests for maturin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8394729be2b9e7ea273d3312197e98c17b4b16d4;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git oeqa/runtime: Update tests for maturin * The output from maturin has changed in newer releases. * Bump guessing-game version to 0.3.0 * Update to abi3 Python3 >= 3.9 support. NOTE: The "maturin develop" step builds around 45 crates and needs enough RAM to run. You will also probably want the performance of KVM. For QEMU/testimage, you will want the following in local.conf (or a similar .conf file): QEMU_USE_KVM = 'True' QB_MEM = '-m 2048' Signed-off-by: Tim Orling Signed-off-by: Antonin Godard Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/runtime/cases/maturin.py b/meta/lib/oeqa/runtime/cases/maturin.py index 4e6384fe5e..8293322819 100644 --- a/meta/lib/oeqa/runtime/cases/maturin.py +++ b/meta/lib/oeqa/runtime/cases/maturin.py @@ -49,10 +49,9 @@ class MaturinDevelopTest(OERuntimeTestCase): self.target.run("echo 'nameserver 8.8.8.8' > /etc/resolv.conf") cmd = "cd %s; maturin develop" % targetdir status, output = self.target.run(cmd) - self.assertRegex(output, r"🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8") - self.assertRegex(output, r"🐍 Not using a specific python interpreter") + self.assertRegex(output, r"🔗 Found pyo3 bindings with abi3 support") self.assertRegex(output, r"📡 Using build options features from pyproject.toml") - self.assertRegex(output, r"Compiling guessing-game v0.1.0") - self.assertRegex(output, r"📦 Built wheel for abi3 Python ≥ 3.8") - self.assertRegex(output, r"🛠 Installed guessing-game-0.1.0") + self.assertRegex(output, r"Compiling guessing-game v0.3.0") + self.assertRegex(output, r"📦 Built wheel for abi3 Python ≥ 3.9") + self.assertRegex(output, r"🛠 Installed guessing-game-0.3.0") self.assertEqual(status, 0)