Bug 2132170

Summary: Update to 0.5.14 for EPEL 8
Product: [Fedora] Fedora EPEL Reporter: Kenneth Porter <shiva>
Component: python-pywizlightAssignee: Fabian Affolter <mail>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: mail
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: python-pywizlight-0.5.14-9.el9 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-06 02:30:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kenneth Porter 2022-10-04 20:45:14 UTC
The version available for EPEL 8 is quite old.

I'm able to rebuild the RPM from the Fedora spec file without issue. I do have a couple of problems after that:

The library depends on python3-dataclasses so that needs to be added as an explicit dependency.

The wizlight binary needs Python >= 3.7 and the default package binds to platform-python and dumps its files in the /usr/lib/python3.6. So it can't find asyncio.run, only available in later versions of Python. How do I package specifically for 3.9 (the latest for RHEL8), so that the shebang and library location are correct?

Comment 1 Kenneth Porter 2022-10-04 21:52:05 UTC
I was able to get a working binary with the following additions to the spec file. These would probably need to be in an EPEL-8-only conditional.

%global __python3 /usr/bin/python3.9

Requires:	python39
Requires:	python3-dataclasses
Requires:	python39-click

Comment 2 Fedora Update System 2024-09-27 09:08:39 UTC
FEDORA-EPEL-2024-1f776f0bd9 (python-pywizlight-0.5.14-9.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1f776f0bd9

Comment 3 Fedora Update System 2024-09-28 01:38:54 UTC
FEDORA-EPEL-2024-1f776f0bd9 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1f776f0bd9

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

Comment 4 Fedora Update System 2024-10-06 02:30:42 UTC
FEDORA-EPEL-2024-1f776f0bd9 (python-pywizlight-0.5.14-9.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.