From: Tim Orling <[email protected]>

* 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 <[email protected]>
---
 meta/lib/oeqa/runtime/cases/maturin.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

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)
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229825): 
https://lists.openembedded.org/g/openembedded-core/message/229825
Mute This Topic: https://lists.openembedded.org/mt/117389087/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to