Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932756 - app-crypt/yubikey-manager-qt-1.2.5: Fails to recognize YubiKey when built with PYTHON_SINGLE_TARGET="python3_12": NameError: name 'yubikey' is not defined
Summary: app-crypt/yubikey-manager-qt-1.2.5: Fails to recognize YubiKey when built wit...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-25 23:57 UTC by Dan Arnold
Modified: 2024-05-26 11:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,7.08 KB, text/plain)
2024-05-25 23:57 UTC, Dan Arnold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Arnold 2024-05-25 23:57:36 UTC
Created attachment 894398 [details]
emerge --info

Since upgrading my Gentoo system to Python 3.12, ykman-gui does not recognize my YubiKey and instead prints repeatedly:

NameError: name 'yubikey' is not defined
)
qml: qrc:/qml/YubiKey.qml:208: TypeError: Cannot read property 'success' of undefined
"PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
qml: Function not found: 'yubikey.controller.refresh' (Traceback (most recent call last):

  File "<string>", line 1, in <module>

Before the Python 3.12 upgrade, it worked without issue.

Python 3.12 will become the default in 1 week: https://www.gentoo.org/support/news-items/2024-05-09-python3-12.html

$ eix yubikey-manager-qt
[I] app-crypt/yubikey-manager-qt
     Available versions:  (~)1.2.5 {PYTHON_SINGLE_TARGET="python3_10 python3_11 python3_12"}
     Installed versions:  1.2.5(01:31:28 AM 05/21/2024)(PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11")
     Homepage:            https://developers.yubico.com/yubikey-manager-qt/ https://github.com/Yubico/yubikey-manager-qt
     Description:         Cross-platform application for configuring any YubiKey over all USB transports


emerge --info attached