Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS/RHEL 8 installation fails with missing dependency #150

Open
SpareSimian opened this issue Oct 4, 2022 · 4 comments
Open

CentOS/RHEL 8 installation fails with missing dependency #150

SpareSimian opened this issue Oct 4, 2022 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@SpareSimian
Copy link

While the pywizlight package is available in EPEL 8, the asyncio-dgram on which it depends has been removed for lack of a maintainer. However, the pywizlight package in EPEL 8 is fairly old and updating it might result in removing the dependency. I'm investigating that. The latest pywizlight installed with pip3.9 as a normal user does work using the python39 package. (I suspect this would also work with python38.)

For now, the RHEL 8 installation instructions in the README don't work. I'll try to create an updated RPM that does.

The dependency that lost its maintainer: https://src.fedoraproject.org/rpms/python-asyncio-dgram

Fedora package page for pywizlight: https://src.fedoraproject.org/rpms/python-pywizlight

@SpareSimian
Copy link
Author

I'm able to package 0.5.14 on Rocky 8 (clone of RHEL and CentOS 8) using the spec file from the link above, but running it with Python 3.9 fails, unable to find asyncio.run. I suspect some kind of Python library path problem in my installation.

I needed to install the python3-dataclasses package so that will need to be added to the spec file as an explicit prereq.

@sbidy
Copy link
Owner

sbidy commented Oct 6, 2022

Maybe @fabaff can help here. I'm not sure about the current package status.

@sbidy sbidy added the help wanted Extra attention is needed label Oct 6, 2022
@SpareSimian
Copy link
Author

I opened a bugzilla here against the EPEL 8 package: https://bugzilla.redhat.com/show_bug.cgi?id=2132170

Note that this isn't a problem for Fedora because it's a fast-moving distro and has a single recent Python. RHEL 8 and its derivatives are conservative and are still on Python 3.6, but you can install later versions 3.8 and 3.9 in parallel. Fedora doesn't support parallel versions, which is why I suggested in the bug report that the 3.9 requirement be under an RHEL 8-only conditional.

@fabaff
Copy link
Contributor

fabaff commented Oct 31, 2022

asyncio-dgram is no longer needed (#99) (I corrected it for the NixOS package with NixOS/nixpkgs#198806). Thus, if Fedora has retired that package it's not a big deal for pywizlight.

I can try to get pywizlight updated for EPEL8 but testing (or everything that goes beyond mock) will be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants