Bug 2277686

Summary: python3.12 incompatible loader
Product: [Fedora] Fedora Reporter: Jakub Jelen <jjelen>
Component: pyothersideAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 39CC: mkolman, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/thp/pyotherside/pull/131
Whiteboard:
Fixed In Version: pyotherside-1.6.0-7.fc41 pyotherside-1.6.1-1.fc39 pyotherside-1.6.1-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-08 01:53:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2251082    

Description Jakub Jelen 2024-04-29 07:35:51 UTC
pyotherside is using a loader, that is not compatible with python 3.12, which is rendering the applications on Fedora 39 with Python 3.12 unusable, such as described in bug #2251082.

This was recently fixed upstream. I am not sure if there is a plan for upstream release, but given that this affects several packages, it would be worth backporting the change to fedora:

https://github.com/thp/pyotherside/pull/131



Reproducible: Always

Steps to Reproduce:
1. Install and run yubikey-manager-qt RPM package
2. Insert Yubikey
Actual Results:  
nothing happens

Expected Results:  
the window should show the information about yubikey

there are no logs (As far as I could find) that would point out to this particular issue as the failure looks silent.

Comment 1 Martin Kolman 2024-04-30 10:51:21 UTC
The fix looks quite simple - I'll backport it as downstream patch for now. :)

Comment 2 Jakub Jelen 2024-05-10 17:47:35 UTC
ping, any update here?

Comment 3 Martin Kolman 2024-05-17 10:03:33 UTC
(In reply to Jakub Jelen from comment #2)
> ping, any update here?

Oops, got sidetracked a bit. I'll backport the patch during today. :)

Comment 4 Martin Kolman 2024-05-17 12:38:20 UTC
So I've pulled in the upstream PR[1] with fix for Python 3.12 as a patch and a build[2] is now running. 

Hopefully upstream does a new release soon, so I can drop the patch. :)

[1] https://github.com/thp/pyotherside/pull/131
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=117802692

Comment 5 Martin Kolman 2024-05-20 12:30:21 UTC
And of course the day after I do the downstream patch there is finally an upstream release (1.6.1). :P Oh well, will the package to the upstream release in the next few days. :D

Comment 6 Fedora Update System 2024-06-29 10:55:16 UTC
FEDORA-2024-f563337283 (pyotherside-1.6.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f563337283

Comment 7 Fedora Update System 2024-06-29 10:56:01 UTC
FEDORA-2024-259b757f03 (pyotherside-1.6.1-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-259b757f03

Comment 8 Fedora Update System 2024-06-30 02:26:58 UTC
FEDORA-2024-f563337283 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f563337283`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f563337283

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-06-30 05:33:47 UTC
FEDORA-2024-259b757f03 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-259b757f03`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-259b757f03

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-07-08 01:53:57 UTC
FEDORA-2024-259b757f03 (pyotherside-1.6.1-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2024-07-08 01:56:53 UTC
FEDORA-2024-f563337283 (pyotherside-1.6.1-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Dominik 'Rathann' Mierzejewski 2024-07-08 21:08:10 UTC
FWIW, this update doesn't fix the "key not detected" bug in the YubiKey Manager GUI for me.