Bug 2132170 - Update to 0.5.14 for EPEL 8
Summary: Update to 0.5.14 for EPEL 8
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-pywizlight
Version: epel8
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-04 20:45 UTC by Kenneth Porter
Modified: 2022-10-04 21:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github sbidy pywizlight issues 150 0 None open CentOS/RHEL 8 installation fails with missing dependency 2022-10-04 20:46:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.