Hello Rene, You have demonstrated that 1.9.1 is broken and 1.9.2 works, and identified the needed fix, but that is not what I asked you to do.
To clarify, your options are: - demonstrate that 1.9.2 contains only bugfixes and no new features, and then prepare a version update patch for walnascar and send it. - cherry-pick and add the needed fix to 1.9.1 recipe, prepare a patch for walnascar with that change, and send it. In both cases it is useful to include the demonstation shown below into the commit message, so maintainers can clearly see the need for the patch. Other people are not going to provide a fix for your problem. Alex On Wed, 3 Sept 2025 at 15:21, Rene Muniz <[email protected]> wrote: > > Dear Alexander, here is the detailed information regarding this issue: > > - Built walnascar, commit 343adc0de05d4d1ef84bee6b76b5dedbcb587fb1 > - Add meta-openembedded for python support, branch walnascar, commit > dca497d728792e3cb655c78455c2d649af312ce8 > - In local.conf included in image: python3 python3-pip python3-evdev > > Boot image in qemu and import evdev in python: > > root@qemux86-64:~# pip3 show evdev > Name: evdev > Version: 1.9.1 > Summary: Bindings to the Linux input handling subsystem > Home-page: https://github.com/gvalkov/python-evdev > Author: > Author-email: Georgi Valkov <[email protected]> > License: Copyright (c) 2012-2025 Georgi Valkov. All rights reserved. > > root@qemux86-64:~# python3 > Python 3.13.4 (main, Jun 3 2025, 15:34:24) [GCC 14.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import evdev > Traceback (most recent call last): > File "<python-input-0>", line 1, in <module> > import evdev > File "/usr/lib/python3.13/site-packages/evdev/__init__.py", line 8, in > <module> > from . import ( > ...<2 lines>... > ) > File "/usr/lib/python3.13/site-packages/evdev/ecodes.py", line 78, in > <module> > for k, v in g[prefix].items(): > ~^^^^^^^^ > KeyError: 'UI_FF' > > - Now use recipe python3-evdev_1.9.2.bb (commit > 46866b0022690f7408d0c5d7d3a22ba03e3af1a7) > > root@qemux86-64:~# pip3 show evdev > Name: evdev > Version: 1.9.2 > Summary: Bindings to the Linux input handling subsystem > Home-page: https://github.com/gvalkov/python-evdev > Author: > Author-email: Georgi Valkov <[email protected]> > License: Copyright (c) 2012-2025 Georgi Valkov. All rights reserved. > > root@qemux86-64:~# python3 > Python 3.13.4 (main, Jun 3 2025, 15:34:24) [GCC 14.3.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> import evdev > >>> > > And this works as expected. > > Additional data: this commit seems to be the fix for the problem in version > 1.9.2: > > commit 0d5ffeeb70639920ab20de1e6ef4c5ece72b97bd > Author: Yoann Congal <[email protected]> > Date: Sat May 3 00:49:44 2025 +0200 > > python3-evdev: add missing uinput header > > Without uinput.h header, the evdev module can't be imported because it > lacks the UI_FF* constants. > > Signed-off-by: Yoann Congal <[email protected]> > Signed-off-by: Khem Raj <[email protected]> > > Thank you, > Rene > > > > On Mon, Sep 1, 2025 at 5:56 AM Alexander Kanavin <[email protected]> > wrote: >> >> Only if 1.9.3 only contains bugfixes compared to 1.9.2 (which you need >> to demonstrate). Otherwise you need to cherry-pick the needed fix and >> add it to 1.9.2 recipe. >> >> Alex >> >> On Fri, 29 Aug 2025 at 20:49, Rene Muniz via lists.openembedded.org >> <[email protected]> wrote: >> > >> > Dear, is it possible to backport the recipe python3-evdev_1.9.2.bb to >> > Walnascar? The reason is that python3-evdev_1.9.1.bb seems broken, by just >> > importing the lib we got an error: >> > >> > Python 3.13.4 (main, Jun 3 2025, 15:34:24) [GCC 14.3.0] on linux >> > Type "help", "copyright", "credits" or "license" for more information. >> > >>> import evdev >> > Traceback (most recent call last): >> > File "<python-input-0>", line 1, in <module> >> > import evdev >> > File "/usr/lib/python3.13/site-packages/evdev/__init__.py", line 8, in >> > <module> >> > from . import ( >> > ...<2 lines>... >> > ) >> > File "/usr/lib/python3.13/site-packages/evdev/ecodes.py", line 78, in >> > <module> >> > for k, v in g[prefix].items(): >> > ~^^^^^^^^ >> > KeyError: 'UI_FF' >> > >> > Tested python3-evdev_1.9.2.bb present in master >> > 46866b0022690f7408d0c5d7d3a22ba03e3af1a7 and it works great. >> > >> > Thanks in advance, best regards, >> > Rene >> > >> > >> >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#222862): https://lists.openembedded.org/g/openembedded-core/message/222862 Mute This Topic: https://lists.openembedded.org/mt/114966240/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
