On Wed, Mar 13, 2024 at 12:53 AM Alexander Kanavin <alex.kana...@gmail.com>
wrote:

> On Tue, 12 Mar 2024 at 19:55, Theodore A. Roth <tr...@openavr.org> wrote:
>
> > Any help or things to try would be appreciated. More than happy to
> provide more information if needed.
>
> Maturin support is fairly new, and rpds is the first real consumer in
> oe-core, so issues like this can happen. You need to find out how it
> forms the installation file name, and then find out how python forms
> the filename it expects, and see where the mismatch is coming from.
> Yes it's not simple and requires advanced, intuitive ability to read
> large, unfamiliar code trees, something that everyone working with
> yocto should possess. We already map architectures in various rust
> pieces, e.g. rust-target-config class, so probably something like that
> should be done in maturin builds too.
>
> Alex
>

Making the following change (via a patch in a .bbappend) to the rpds
Cargo.toml file fixed the import problem for me.

Do not know if this problem is specific to our environment or not at this
point.

Ted Roth

diff --git a/Cargo.toml b/Cargo.toml
index 78ac37f..c1f2ccd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,4 +13,4 @@ archery = "1.1.0"

 [dependencies.pyo3]
 version = "0.20.2"
-features = ["extension-module"]
+features = ["extension-module", "abi3-py37"]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#197044): 
https://lists.openembedded.org/g/openembedded-core/message/197044
Mute This Topic: https://lists.openembedded.org/mt/104767980/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to