*** This bug is a duplicate of bug 2061529 ***
https://bugs.launchpad.net/bugs/2061529
** This bug has been marked a duplicate of bug 2061529
NameError: name 'yubikey' is not defined
--
You received this bug notification because you are a member of Checkbox
Bug Wranglers, which is subscribed to pyotherside in Ubuntu.
https://bugs.launchpad.net/bugs/2115654
Title:
PyOtherSideQtRCImporter broken on Python3.12
Status in pyotherside package in Ubuntu:
Fix Released
Status in pyotherside source package in Noble:
In Progress
Bug description:
[ Impact ]
The pyotherside QRC importer has stopped to function since
noble/python3.12 because of a now-gone python stdlib function. This
prevents software like `yubikey-manager-qt` from working correctly
(see https://bugs.launchpad.net/bugs/2061529)
This was fixed in upstream version 1.6.2 which is available in plucky.
[ Test Plan ]
Steps to reproduce the issue:
* Install `yubikey-manager-qt` on a Noble system
* Start the program using `ykman-gui`
* Notice the "NameError: name 'yubikey' is not defined" and other errors
* The program is unusable
If this fix to pyotherside works, then `ykman-gui` should run fine
without any `NameError`.
[ Where problems could occur ]
The targeted fixes could have an impact outside of
PyOtherSideQtRCImporter and cause regressions.
[ Original bug report ]
PyOtherSideQtRCImporter needs to implement find_spec since find_module
is no longer supported.
https://docs.python.org/3.11/library/importlib.html#importlib.abc.MetaPathFinder.find_module
shows it is deprecated since 3.4 (the link shows the 3.11 docs) and it
was removed in 3.12.
Upstream issue: https://github.com/thp/pyotherside/issues/130
Upstream fix: https://github.com/thp/pyotherside/pull/131
Upstream follow-up fix: https://github.com/thp/pyotherside/pull/134
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyotherside/+bug/2115654/+subscriptions
--
Mailing list: https://launchpad.net/~canonical-hw-cert
Post to : [email protected]
Unsubscribe : https://launchpad.net/~canonical-hw-cert
More help : https://help.launchpad.net/ListHelp