FS#76323 - [yubikey-manager-qt] ImportError after update to yubikey-manager 5.0.0

Attached to Project: Community Packages
Opened by Aidan Dang (AidanGG) - Friday, 28 October 2022, 05:32 GMT
Last edited by Toolybird (Toolybird) - Friday, 04 November 2022, 20:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

The update to yubikey-manager 5.0.0 in community causes and ImportError in ykman-gui from this package.

Additional info:
Upstream bug report: https://github.com/Yubico/yubikey-manager-qt/issues/328

Steps to reproduce:
Install the current version of yubikey-manager 5.0.0 from community. Run "ykman-gui --log-level DEBUG" and get the error:
ImportError: cannot import name 'connect_to_device' from 'ykman' (/usr/lib/python3.10/site-packages/ykman/__init__.py)

No YubiKeys are detected by the GUI. However, they can still be interacted with via the CLI tool `ykman` from yubikey-manager 5.0.0.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 04 November 2022, 20:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  yubikey-manager 1:4.0.9-1
Comment by Sergio Conde (skgsergio) - Friday, 28 October 2022, 14:52 GMT
According to upstream yubioath-desktop-qt requires yubikey-manager 4.x, not sure when they will support it but yubikey-manager update to 5.x also broke yubioath-desktop ( FS#76325 ) and in that case, the update "should be out before the end of the year".

I downgraded to yubikey-manager 4.0.9 and blocked updates for that package, a package rollback might be needed.

Loading...