Bug 2125829

Summary: Please branch and build liquidctl in epel9.
Product: [Fedora] Fedora Reporter: metatron320
Component: liquidctlAssignee: Artur Frenszek-Iwicki <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: liquidctl-1.8.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-13 00:41:46 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:
Bug Depends On: 2125912, 2125913    
Bug Blocks:    

Description metatron320 2022-09-10 21:59:25 UTC
Please branch and build liquidctl in epel9.

Comment 1 Artur Frenszek-Iwicki 2022-09-11 09:45:08 UTC
To build liquidctl for EPEL9, we would need to build python3-colorlog [0] and python3-hidapi [1] first.

$ fedpkg srpm
Wrote: /home/rpmbuilder/fedora-scm/liquidctl/liquidctl-1.10.0-1.fc38.src.rpm
$ mock --root epel-next-9-x86_64 liquidctl-1.10.0-1.fc38.src.rpm
(...snip...)
No matching package to install: 'python3-colorlog'
No matching package to install: 'python3-hidapi >= 0.9.0'
Package python3-setuptools-53.0.0-10.el9.noarch is already installed.
Not all dependencies satisfied
Error: Some packages could not be found.

[0] https://src.fedoraproject.org/rpms/python-colorlog
[1] https://src.fedoraproject.org/rpms/python-hidapi

Comment 2 metatron320 2022-09-11 19:20:05 UTC
(In reply to Artur Frenszek-Iwicki from comment #1)
> To build liquidctl for EPEL9, we would need to build python3-colorlog [0]
> and python3-hidapi [1] first.
> 
> $ fedpkg srpm
> Wrote: /home/rpmbuilder/fedora-scm/liquidctl/liquidctl-1.10.0-1.fc38.src.rpm
> $ mock --root epel-next-9-x86_64 liquidctl-1.10.0-1.fc38.src.rpm
> (...snip...)
> No matching package to install: 'python3-colorlog'
> No matching package to install: 'python3-hidapi >= 0.9.0'
> Package python3-setuptools-53.0.0-10.el9.noarch is already installed.
> Not all dependencies satisfied
> Error: Some packages could not be found.
> 
> [0] https://src.fedoraproject.org/rpms/python-colorlog
> [1] https://src.fedoraproject.org/rpms/python-hidapi

Fair enough. Happy to put in the requests for colorlog and hidapi. Will do so shortly.

I note that the packages appear to be referred to as python-colorlog and python-hidapi in Bugzilla, and not python3-colorlog and python3-hidapi (respectively). Hope that's ok.

Comment 3 metatron320 2022-09-15 23:57:38 UTC
python-colorlog is in progress and has been pushed to EPEL testing (see https://bugzilla.redhat.com/show_bug.cgi?id=2125912).

Still waiting for someone to pick up python-hidapi (see https://bugzilla.redhat.com/show_bug.cgi?id=2125913). Will post an update as soon as it's picked up.

Comment 4 metatron320 2022-09-21 00:20:13 UTC
python-hidapi has been picked up. Currently waiting on a branch and build for one of its dependencies, then we may be in the home stretch!

Comment 5 metatron320 2022-10-01 03:34:57 UTC
The python-hidapi dependency was just built, so now we're just waiting on python-hidapi to finish packaging and send to QA.

Comment 6 metatron320 2022-10-11 13:09:08 UTC
The python-hidapi package should now be available.

Comment 7 Artur Frenszek-Iwicki 2022-10-20 11:01:53 UTC
I played around a bit, and:
> No matching package to install: 'python3dist(setuptools-scm) >= 6.2'
> No matching package to install: 'python3dist(setuptools-scm[toml]) >= 6.2'
This is rather problematic, since this package is part of base RHEL,
and I don't think EPEL is allowed to provide newer versions for RHEL packages.

I'll try building older versions of liquidctl and then just use the latest working one for EPEL9.
Hope that'll be enough.

Comment 8 metatron320 2022-11-08 13:48:55 UTC
(In reply to Artur Frenszek-Iwicki from comment #7)
> I played around a bit, and:
> > No matching package to install: 'python3dist(setuptools-scm) >= 6.2'
> > No matching package to install: 'python3dist(setuptools-scm[toml]) >= 6.2'
> This is rather problematic, since this package is part of base RHEL,
> and I don't think EPEL is allowed to provide newer versions for RHEL
> packages.
> 
> I'll try building older versions of liquidctl and then just use the latest
> working one for EPEL9.
> Hope that'll be enough.

Makes sense to me, I think that should be enough. Thanks!

Comment 9 metatron320 2022-12-21 03:25:54 UTC
Just thought I'd bump this and see if there are any status updates. Thanks!

Comment 10 Fedora Update System 2023-01-04 18:43:49 UTC
FEDORA-EPEL-2023-8420e3f6fb has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-8420e3f6fb

Comment 11 Fedora Update System 2023-01-05 00:27:18 UTC
FEDORA-EPEL-2023-8420e3f6fb 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-2023-8420e3f6fb

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

Comment 12 Fedora Update System 2023-01-13 00:41:46 UTC
FEDORA-EPEL-2023-8420e3f6fb has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.